toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (genreId != null) {
_json[r'GenreId'] = genreId;
} else {
_json[r'GenreId'] = null;
}
if (playListId != null) {
_json[r'PlayListId'] = playListId;
} else {
_json[r'PlayListId'] = null;
}
return _json;
}