CmfcSettings.fromJson constructor

CmfcSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CmfcSettings.fromJson(Map<String, dynamic> json) {
  return CmfcSettings(
    audioDuration: (json['audioDuration'] as String?)?.toCmfcAudioDuration(),
    scte35Esam: (json['scte35Esam'] as String?)?.toCmfcScte35Esam(),
    scte35Source: (json['scte35Source'] as String?)?.toCmfcScte35Source(),
  );
}