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