OutputGroupSettings.fromJson constructor
OutputGroupSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory OutputGroupSettings.fromJson(Map<String, dynamic> json) {
return OutputGroupSettings(
cmafGroupSettings: json['cmafGroupSettings'] != null
? CmafGroupSettings.fromJson(
json['cmafGroupSettings'] as Map<String, dynamic>)
: null,
dashIsoGroupSettings: json['dashIsoGroupSettings'] != null
? DashIsoGroupSettings.fromJson(
json['dashIsoGroupSettings'] as Map<String, dynamic>)
: null,
fileGroupSettings: json['fileGroupSettings'] != null
? FileGroupSettings.fromJson(
json['fileGroupSettings'] as Map<String, dynamic>)
: null,
hlsGroupSettings: json['hlsGroupSettings'] != null
? HlsGroupSettings.fromJson(
json['hlsGroupSettings'] as Map<String, dynamic>)
: null,
msSmoothGroupSettings: json['msSmoothGroupSettings'] != null
? MsSmoothGroupSettings.fromJson(
json['msSmoothGroupSettings'] as Map<String, dynamic>)
: null,
type: (json['type'] as String?)?.toOutputGroupType(),
);
}