content: // coverage:ignore-file
  // GENERATED CODE - DO NOT MODIFY BY HAND
  // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target
  
  part of 'user.dart';
  
  // **************************************************************************
  // FreezedGenerator
  // **************************************************************************
  
  T _$identity<T>(T value) => value;
  
  final _privateConstructorUsedError = UnsupportedError(
      'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more informations: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
  
  User _$UserFromJson(Map<String, dynamic> json) {
    return _User.fromJson(json);
  }
  
  /// @nodoc
  class _$UserTearOff {
    const _$UserTearOff();
  
    _User call(
        {@HiveField(0) required String id, @HiveField(1) required String email}) {
      return _User(
        id: id,
        email: email,
      );
    }
  
    User fromJson(Map<String, Object?> json) {
      return User.fromJson(json);
    }
  }
  
  /// @nodoc
  const $User = _$UserTearOff();
  
  /// @nodoc
  mixin _$User {
    @HiveField(0)
    String get id => throw _privateConstructorUsedError;
    @HiveField(1)
    String get email => throw _privateConstructorUsedError;
  
    Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
    @JsonKey(ignore: true)
    $UserCopyWith<User> get copyWith => throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class $UserCopyWith<$Res> {
    factory $UserCopyWith(User value, $Res Function(User) then) =
        _$UserCopyWithImpl<$Res>;
    $Res call({@HiveField(0) String id, @HiveField(1) String email});
  }
  
  /// @nodoc
  class _$UserCopyWithImpl<$Res> implements $UserCopyWith<$Res> {
    _$UserCopyWithImpl(this._value, this._then);
  
    final User _value;
    // ignore: unused_field
    final $Res Function(User) _then;
  
    @override
    $Res call({
      Object? id = freezed,
      Object? email = freezed,
    }) {
      return _then(_value.copyWith(
        id: id == freezed
            ? _value.id
            : id // ignore: cast_nullable_to_non_nullable
                as String,
        email: email == freezed
            ? _value.email
            : email // ignore: cast_nullable_to_non_nullable
                as String,
      ));
    }
  }
  
  /// @nodoc
  abstract class _$UserCopyWith<$Res> implements $UserCopyWith<$Res> {
    factory _$UserCopyWith(_User value, $Res Function(_User) then) =
        __$UserCopyWithImpl<$Res>;
    @override
    $Res call({@HiveField(0) String id, @HiveField(1) String email});
  }
  
  /// @nodoc
  class __$UserCopyWithImpl<$Res> extends _$UserCopyWithImpl<$Res>
      implements _$UserCopyWith<$Res> {
    __$UserCopyWithImpl(_User _value, $Res Function(_User) _then)
        : super(_value, (v) => _then(v as _User));
  
    @override
    _User get _value => super._value as _User;
  
    @override
    $Res call({
      Object? id = freezed,
      Object? email = freezed,
    }) {
      return _then(_User(
        id: id == freezed
            ? _value.id
            : id // ignore: cast_nullable_to_non_nullable
                as String,
        email: email == freezed
            ? _value.email
            : email // ignore: cast_nullable_to_non_nullable
                as String,
      ));
    }
  }
  
  /// @nodoc
  @JsonSerializable()
  @HiveType(typeId: 0)
  class _$_User implements _User {
    const _$_User(
        {@HiveField(0) required this.id, @HiveField(1) required this.email});
  
    factory _$_User.fromJson(Map<String, dynamic> json) => _$$_UserFromJson(json);
  
    @override
    @HiveField(0)
    final String id;
    @override
    @HiveField(1)
    final String email;
  
    @override
    String toString() {
      return 'User(id: $id, email: $email)';
    }
  
    @override
    bool operator ==(dynamic other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType &&
              other is _User &&
              (identical(other.id, id) || other.id == id) &&
              (identical(other.email, email) || other.email == email));
    }
  
    @override
    int get hashCode => Object.hash(runtimeType, id, email);
  
    @JsonKey(ignore: true)
    @override
    _$UserCopyWith<_User> get copyWith =>
        __$UserCopyWithImpl<_User>(this, _$identity);
  
    @override
    Map<String, dynamic> toJson() {
      return _$$_UserToJson(this);
    }
  }
  
  abstract class _User implements User {
    const factory _User(
        {@HiveField(0) required String id,
        @HiveField(1) required String email}) = _$_User;
  
    factory _User.fromJson(Map<String, dynamic> json) = _$_User.fromJson;
  
    @override
    @HiveField(0)
    String get id;
    @override
    @HiveField(1)
    String get email;
    @override
    @JsonKey(ignore: true)
    _$UserCopyWith<_User> get copyWith => throw _privateConstructorUsedError;
  }
  