HlsCaptionLanguageMapping.fromJson constructor
Implementation
factory HlsCaptionLanguageMapping.fromJson(Map<String, dynamic> json) {
return HlsCaptionLanguageMapping(
captionChannel: json['captionChannel'] as int?,
customLanguageCode: json['customLanguageCode'] as String?,
languageCode: (json['languageCode'] as String?)?.toLanguageCode(),
languageDescription: json['languageDescription'] as String?,
);
}