ContainerSettings.fromJson constructor
ContainerSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ContainerSettings.fromJson(Map<String, dynamic> json) {
return ContainerSettings(
cmfcSettings: json['cmfcSettings'] != null
? CmfcSettings.fromJson(json['cmfcSettings'] as Map<String, dynamic>)
: null,
container: (json['container'] as String?)?.toContainerType(),
f4vSettings: json['f4vSettings'] != null
? F4vSettings.fromJson(json['f4vSettings'] as Map<String, dynamic>)
: null,
m2tsSettings: json['m2tsSettings'] != null
? M2tsSettings.fromJson(json['m2tsSettings'] as Map<String, dynamic>)
: null,
m3u8Settings: json['m3u8Settings'] != null
? M3u8Settings.fromJson(json['m3u8Settings'] as Map<String, dynamic>)
: null,
movSettings: json['movSettings'] != null
? MovSettings.fromJson(json['movSettings'] as Map<String, dynamic>)
: null,
mp4Settings: json['mp4Settings'] != null
? Mp4Settings.fromJson(json['mp4Settings'] as Map<String, dynamic>)
: null,
mpdSettings: json['mpdSettings'] != null
? MpdSettings.fromJson(json['mpdSettings'] as Map<String, dynamic>)
: null,
mxfSettings: json['mxfSettings'] != null
? MxfSettings.fromJson(json['mxfSettings'] as Map<String, dynamic>)
: null,
);
}