toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (caption != null) 'caption': caption!,
      if (contentRating != null) 'contentRating': contentRating!,
      if (countryRestriction != null)
        'countryRestriction': countryRestriction!,
      if (definition != null) 'definition': definition!,
      if (dimension != null) 'dimension': dimension!,
      if (duration != null) 'duration': duration!,
      if (hasCustomThumbnail != null)
        'hasCustomThumbnail': hasCustomThumbnail!,
      if (licensedContent != null) 'licensedContent': licensedContent!,
      if (projection != null) 'projection': projection!,
      if (regionRestriction != null) 'regionRestriction': regionRestriction!,
    };