DescribeChannelMembershipResponse.fromJson constructor

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

Implementation

factory DescribeChannelMembershipResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeChannelMembershipResponse(
    channelMembership: json['ChannelMembership'] != null
        ? ChannelMembership.fromJson(
            json['ChannelMembership'] as Map<String, dynamic>)
        : null,
  );
}