ListChannelsResponse.fromJson constructor
Implementation
factory ListChannelsResponse.fromJson(Map<String, dynamic> json) {
return ListChannelsResponse(
channels: (json['Channels'] as List?)
?.whereNotNull()
.map((e) => ChannelSummary.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}