ChannelMembershipForAppInstanceUserSummary.fromJson constructor

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

Implementation

factory ChannelMembershipForAppInstanceUserSummary.fromJson(
    Map<String, dynamic> json) {
  return ChannelMembershipForAppInstanceUserSummary(
    appInstanceUserMembershipSummary:
        json['AppInstanceUserMembershipSummary'] != null
            ? AppInstanceUserMembershipSummary.fromJson(
                json['AppInstanceUserMembershipSummary']
                    as Map<String, dynamic>)
            : null,
    channelSummary: json['ChannelSummary'] != null
        ? ChannelSummary.fromJson(
            json['ChannelSummary'] as Map<String, dynamic>)
        : null,
  );
}