CreateChannelModeratorResponse.fromJson constructor

CreateChannelModeratorResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateChannelModeratorResponse.fromJson(Map<String, dynamic> json) {
  return CreateChannelModeratorResponse(
    channelArn: json['ChannelArn'] as String?,
    channelModerator: json['ChannelModerator'] != null
        ? Identity.fromJson(json['ChannelModerator'] as Map<String, dynamic>)
        : null,
  );
}