CreateChannelBanResponse.fromJson constructor

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

Implementation

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