toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adBreaks != null)
        'adBreaks': adBreaks!.map((value) => value.toJson()).toList(),
      if (editList != null)
        'editList': editList!.map((value) => value.toJson()).toList(),
      if (elementaryStreams != null)
        'elementaryStreams':
            elementaryStreams!.map((value) => value.toJson()).toList(),
      if (inputs != null)
        'inputs': inputs!.map((value) => value.toJson()).toList(),
      if (manifests != null)
        'manifests': manifests!.map((value) => value.toJson()).toList(),
      if (muxStreams != null)
        'muxStreams': muxStreams!.map((value) => value.toJson()).toList(),
      if (output != null) 'output': output!.toJson(),
      if (overlays != null)
        'overlays': overlays!.map((value) => value.toJson()).toList(),
      if (pubsubDestination != null)
        'pubsubDestination': pubsubDestination!.toJson(),
      if (spriteSheets != null)
        'spriteSheets': spriteSheets!.map((value) => value.toJson()).toList(),
    };