toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (playListId != null) {
    _json[r'PlayListId'] = playListId;
  } else {
    _json[r'PlayListId'] = null;
  }
    _json[r'Name'] = name;
  if (imageFile != null) {
    _json[r'ImageFile'] = imageFile;
  } else {
    _json[r'ImageFile'] = null;
  }
  if (timeOfDay != null) {
    _json[r'TimeOfDay'] = timeOfDay;
  } else {
    _json[r'TimeOfDay'] = null;
  }
  if (download != null) {
    _json[r'Download'] = download;
  } else {
    _json[r'Download'] = null;
  }
  if (companyTypePlaylists != null) {
    _json[r'CompanyTypePlaylists'] = companyTypePlaylists;
  } else {
    _json[r'CompanyTypePlaylists'] = null;
  }
  if (genrePlaylists != null) {
    _json[r'GenrePlaylists'] = genrePlaylists;
  } else {
    _json[r'GenrePlaylists'] = null;
  }
  if (trackPlayLists != null) {
    _json[r'TrackPlayLists'] = trackPlayLists;
  } else {
    _json[r'TrackPlayLists'] = null;
  }
  if (playlistFeeds != null) {
    _json[r'PlaylistFeeds'] = playlistFeeds;
  } else {
    _json[r'PlaylistFeeds'] = null;
  }
  return _json;
}