ChannelMembershipSummary.fromJson constructor

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

Implementation

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