MpdSettings.fromJson constructor
MpdSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory MpdSettings.fromJson(Map<String, dynamic> json) {
return MpdSettings(
accessibilityCaptionHints: (json['accessibilityCaptionHints'] as String?)
?.toMpdAccessibilityCaptionHints(),
audioDuration: (json['audioDuration'] as String?)?.toMpdAudioDuration(),
captionContainerType: (json['captionContainerType'] as String?)
?.toMpdCaptionContainerType(),
scte35Esam: (json['scte35Esam'] as String?)?.toMpdScte35Esam(),
scte35Source: (json['scte35Source'] as String?)?.toMpdScte35Source(),
);
}