CreateChannelMembershipResponse.fromJson constructor

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

Implementation

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