toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json[r'Name'] = name;
if (timeOfDay != null) {
_json[r'TimeOfDay'] = timeOfDay;
} else {
_json[r'TimeOfDay'] = null;
}
if (genrePlaylists != null) {
_json[r'GenrePlaylists'] = genrePlaylists;
} else {
_json[r'GenrePlaylists'] = null;
}
return _json;
}