MultiplexProgramPacketIdentifiersMap.fromJson constructor
MultiplexProgramPacketIdentifiersMap.fromJson(
- Map<String, dynamic> json
)
Implementation
factory MultiplexProgramPacketIdentifiersMap.fromJson(
Map<String, dynamic> json) {
return MultiplexProgramPacketIdentifiersMap(
audioPids: (json['audioPids'] as List?)
?.whereNotNull()
.map((e) => e as int)
.toList(),
dvbSubPids: (json['dvbSubPids'] as List?)
?.whereNotNull()
.map((e) => e as int)
.toList(),
dvbTeletextPid: json['dvbTeletextPid'] as int?,
etvPlatformPid: json['etvPlatformPid'] as int?,
etvSignalPid: json['etvSignalPid'] as int?,
klvDataPids: (json['klvDataPids'] as List?)
?.whereNotNull()
.map((e) => e as int)
.toList(),
pcrPid: json['pcrPid'] as int?,
pmtPid: json['pmtPid'] as int?,
privateMetadataPid: json['privateMetadataPid'] as int?,
scte27Pids: (json['scte27Pids'] as List?)
?.whereNotNull()
.map((e) => e as int)
.toList(),
scte35Pid: json['scte35Pid'] as int?,
timedMetadataPid: json['timedMetadataPid'] as int?,
videoPid: json['videoPid'] as int?,
);
}