class PrankSound { final String title; final String mp3Url; final String preUrl; bool isFavorite; PrankSound({ required this.title, required this.mp3Url, required this.preUrl, this.isFavorite = false, }); factory PrankSound.fromJson(Map json) { return PrankSound( title: json['title'] ?? 'Sound Effect', mp3Url: json['mp3Url'] ?? '', preUrl: json['preUrl'] ?? '', ); } }