RemoveChatMember$Mutation$RemoveChatMember.fromJson constructor

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

Implementation

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