toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final audioGroupId = this.audioGroupId;
  final audioOnlyContainer = this.audioOnlyContainer;
  final audioRenditionSets = this.audioRenditionSets;
  final audioTrackType = this.audioTrackType;
  final iFrameOnlyManifest = this.iFrameOnlyManifest;
  final segmentModifier = this.segmentModifier;
  return {
    if (audioGroupId != null) 'audioGroupId': audioGroupId,
    if (audioOnlyContainer != null)
      'audioOnlyContainer': audioOnlyContainer.toValue(),
    if (audioRenditionSets != null) 'audioRenditionSets': audioRenditionSets,
    if (audioTrackType != null) 'audioTrackType': audioTrackType.toValue(),
    if (iFrameOnlyManifest != null)
      'iFrameOnlyManifest': iFrameOnlyManifest.toValue(),
    if (segmentModifier != null) 'segmentModifier': segmentModifier,
  };
}