ListChannelBansResponse.fromJson constructor
Implementation
factory ListChannelBansResponse.fromJson(Map<String, dynamic> json) {
return ListChannelBansResponse(
channelArn: json['ChannelArn'] as String?,
channelBans: (json['ChannelBans'] as List?)
?.whereNotNull()
.map((e) => ChannelBanSummary.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}