AddChatMember$Mutation$AddChatMember.fromJson constructor

AddChatMember$Mutation$AddChatMember.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AddChatMember$Mutation$AddChatMember.fromJson(
    Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'ChatEventsVersioned':
      return AddChatMember$Mutation$AddChatMember$ChatEventsVersioned
          .fromJson(json);
    case r'AddChatMemberError':
      return AddChatMember$Mutation$AddChatMember$AddChatMemberError.fromJson(
          json);
    default:
  }
  return _$AddChatMember$Mutation$AddChatMemberFromJson(json);
}