toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (companionSettings != null) 'companionSettings': companionSettings!,
      if (kind != null) 'kind': kind!,
      if (obaEnabled != null) 'obaEnabled': obaEnabled!,
      if (obaSettings != null) 'obaSettings': obaSettings!,
      if (orientation != null) 'orientation': orientation!,
      if (publisherSpecificationId != null)
        'publisherSpecificationId': publisherSpecificationId!,
      if (skippableSettings != null) 'skippableSettings': skippableSettings!,
      if (transcodeSettings != null) 'transcodeSettings': transcodeSettings!,
    };