DeleteUserPhone$Mutation$DeleteUserPhone.fromJson constructor

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

Implementation

factory DeleteUserPhone$Mutation$DeleteUserPhone.fromJson(
    Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'MyUserEventsVersioned':
      return DeleteUserPhone$Mutation$DeleteUserPhone$MyUserEventsVersioned
          .fromJson(json);
    case r'DeleteUserPhoneError':
      return DeleteUserPhone$Mutation$DeleteUserPhone$DeleteUserPhoneError
          .fromJson(json);
    default:
  }
  return _$DeleteUserPhone$Mutation$DeleteUserPhoneFromJson(json);
}