toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (container != null) 'container': container!,
      if (elementaryStreams != null) 'elementaryStreams': elementaryStreams!,
      if (encryption != null) 'encryption': encryption!.toJson(),
      if (fileName != null) 'fileName': fileName!,
      if (key != null) 'key': key!,
      if (segmentSettings != null)
        'segmentSettings': segmentSettings!.toJson(),
    };