DescribeMultiplexProgramResponse.fromJson constructor
DescribeMultiplexProgramResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeMultiplexProgramResponse.fromJson(Map<String, dynamic> json) {
return DescribeMultiplexProgramResponse(
channelId: json['channelId'] as String?,
multiplexProgramSettings: json['multiplexProgramSettings'] != null
? MultiplexProgramSettings.fromJson(
json['multiplexProgramSettings'] as Map<String, dynamic>)
: null,
packetIdentifiersMap: json['packetIdentifiersMap'] != null
? MultiplexProgramPacketIdentifiersMap.fromJson(
json['packetIdentifiersMap'] as Map<String, dynamic>)
: null,
pipelineDetails: (json['pipelineDetails'] as List?)
?.whereNotNull()
.map((e) => MultiplexProgramPipelineDetail.fromJson(
e as Map<String, dynamic>))
.toList(),
programName: json['programName'] as String?,
);
}