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