toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final cmfcSettings = this.cmfcSettings;
  final container = this.container;
  final f4vSettings = this.f4vSettings;
  final m2tsSettings = this.m2tsSettings;
  final m3u8Settings = this.m3u8Settings;
  final movSettings = this.movSettings;
  final mp4Settings = this.mp4Settings;
  final mpdSettings = this.mpdSettings;
  final mxfSettings = this.mxfSettings;
  return {
    if (cmfcSettings != null) 'cmfcSettings': cmfcSettings,
    if (container != null) 'container': container.toValue(),
    if (f4vSettings != null) 'f4vSettings': f4vSettings,
    if (m2tsSettings != null) 'm2tsSettings': m2tsSettings,
    if (m3u8Settings != null) 'm3u8Settings': m3u8Settings,
    if (movSettings != null) 'movSettings': movSettings,
    if (mp4Settings != null) 'mp4Settings': mp4Settings,
    if (mpdSettings != null) 'mpdSettings': mpdSettings,
    if (mxfSettings != null) 'mxfSettings': mxfSettings,
  };
}