CaptionSelectorSettings.fromJson constructor
CaptionSelectorSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CaptionSelectorSettings.fromJson(Map<String, dynamic> json) {
return CaptionSelectorSettings(
ancillarySourceSettings: json['ancillarySourceSettings'] != null
? AncillarySourceSettings.fromJson(
json['ancillarySourceSettings'] as Map<String, dynamic>)
: null,
aribSourceSettings: json['aribSourceSettings'] != null
? AribSourceSettings.fromJson(
json['aribSourceSettings'] as Map<String, dynamic>)
: null,
dvbSubSourceSettings: json['dvbSubSourceSettings'] != null
? DvbSubSourceSettings.fromJson(
json['dvbSubSourceSettings'] as Map<String, dynamic>)
: null,
embeddedSourceSettings: json['embeddedSourceSettings'] != null
? EmbeddedSourceSettings.fromJson(
json['embeddedSourceSettings'] as Map<String, dynamic>)
: null,
scte20SourceSettings: json['scte20SourceSettings'] != null
? Scte20SourceSettings.fromJson(
json['scte20SourceSettings'] as Map<String, dynamic>)
: null,
scte27SourceSettings: json['scte27SourceSettings'] != null
? Scte27SourceSettings.fromJson(
json['scte27SourceSettings'] as Map<String, dynamic>)
: null,
teletextSourceSettings: json['teletextSourceSettings'] != null
? TeletextSourceSettings.fromJson(
json['teletextSourceSettings'] as Map<String, dynamic>)
: null,
);
}