toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (ageGating != null) 'ageGating': ageGating!,
      if (contentDetails != null) 'contentDetails': contentDetails!,
      if (etag != null) 'etag': etag!,
      if (fileDetails != null) 'fileDetails': fileDetails!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (liveStreamingDetails != null)
        'liveStreamingDetails': liveStreamingDetails!,
      if (localizations != null) 'localizations': localizations!,
      if (monetizationDetails != null)
        'monetizationDetails': monetizationDetails!,
      if (player != null) 'player': player!,
      if (processingDetails != null) 'processingDetails': processingDetails!,
      if (projectDetails != null) 'projectDetails': projectDetails!,
      if (recordingDetails != null) 'recordingDetails': recordingDetails!,
      if (snippet != null) 'snippet': snippet!,
      if (statistics != null) 'statistics': statistics!,
      if (status != null) 'status': status!,
      if (suggestions != null) 'suggestions': suggestions!,
      if (topicDetails != null) 'topicDetails': topicDetails!,
    };