CaptionSelector.fromJson constructor
Implementation
factory CaptionSelector.fromJson(Map<String, dynamic> json) {
return CaptionSelector(
name: json['name'] as String,
languageCode: json['languageCode'] as String?,
selectorSettings: json['selectorSettings'] != null
? CaptionSelectorSettings.fromJson(
json['selectorSettings'] as Map<String, dynamic>)
: null,
);
}