content: // coverage:ignore-file
  // GENERATED CODE - DO NOT MODIFY BY HAND
  // ignore_for_file: type=lint
  // 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, unnecessary_question_mark
  
  part of 'pokemon.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 information: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
  
  Pokemon _$PokemonFromJson(Map<String, dynamic> json) {
    return _Pokemon.fromJson(json);
  }
  
  /// @nodoc
  mixin _$Pokemon {
    int get id => throw _privateConstructorUsedError;
    String get name => throw _privateConstructorUsedError;
    int get height => throw _privateConstructorUsedError;
    int get weight => throw _privateConstructorUsedError;
    Sprite get sprites => throw _privateConstructorUsedError;
  
    Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
    @JsonKey(ignore: true)
    $PokemonCopyWith<Pokemon> get copyWith => throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class $PokemonCopyWith<$Res> {
    factory $PokemonCopyWith(Pokemon value, $Res Function(Pokemon) then) =
        _$PokemonCopyWithImpl<$Res, Pokemon>;
    @useResult
    $Res call({int id, String name, int height, int weight, Sprite sprites});
  
    $SpriteCopyWith<$Res> get sprites;
  }
  
  /// @nodoc
  class _$PokemonCopyWithImpl<$Res, $Val extends Pokemon>
      implements $PokemonCopyWith<$Res> {
    _$PokemonCopyWithImpl(this._value, this._then);
  
    // ignore: unused_field
    final $Val _value;
    // ignore: unused_field
    final $Res Function($Val) _then;
  
    @pragma('vm:prefer-inline')
    @override
    $Res call({
      Object? id = null,
      Object? name = null,
      Object? height = null,
      Object? weight = null,
      Object? sprites = null,
    }) {
      return _then(_value.copyWith(
        id: null == id
            ? _value.id
            : id // ignore: cast_nullable_to_non_nullable
                as int,
        name: null == name
            ? _value.name
            : name // ignore: cast_nullable_to_non_nullable
                as String,
        height: null == height
            ? _value.height
            : height // ignore: cast_nullable_to_non_nullable
                as int,
        weight: null == weight
            ? _value.weight
            : weight // ignore: cast_nullable_to_non_nullable
                as int,
        sprites: null == sprites
            ? _value.sprites
            : sprites // ignore: cast_nullable_to_non_nullable
                as Sprite,
      ) as $Val);
    }
  
    @override
    @pragma('vm:prefer-inline')
    $SpriteCopyWith<$Res> get sprites {
      return $SpriteCopyWith<$Res>(_value.sprites, (value) {
        return _then(_value.copyWith(sprites: value) as $Val);
      });
    }
  }
  
  /// @nodoc
  abstract class _$$_PokemonCopyWith<$Res> implements $PokemonCopyWith<$Res> {
    factory _$$_PokemonCopyWith(
            _$_Pokemon value, $Res Function(_$_Pokemon) then) =
        __$$_PokemonCopyWithImpl<$Res>;
    @override
    @useResult
    $Res call({int id, String name, int height, int weight, Sprite sprites});
  
    @override
    $SpriteCopyWith<$Res> get sprites;
  }
  
  /// @nodoc
  class __$$_PokemonCopyWithImpl<$Res>
      extends _$PokemonCopyWithImpl<$Res, _$_Pokemon>
      implements _$$_PokemonCopyWith<$Res> {
    __$$_PokemonCopyWithImpl(_$_Pokemon _value, $Res Function(_$_Pokemon) _then)
        : super(_value, _then);
  
    @pragma('vm:prefer-inline')
    @override
    $Res call({
      Object? id = null,
      Object? name = null,
      Object? height = null,
      Object? weight = null,
      Object? sprites = null,
    }) {
      return _then(_$_Pokemon(
        id: null == id
            ? _value.id
            : id // ignore: cast_nullable_to_non_nullable
                as int,
        name: null == name
            ? _value.name
            : name // ignore: cast_nullable_to_non_nullable
                as String,
        height: null == height
            ? _value.height
            : height // ignore: cast_nullable_to_non_nullable
                as int,
        weight: null == weight
            ? _value.weight
            : weight // ignore: cast_nullable_to_non_nullable
                as int,
        sprites: null == sprites
            ? _value.sprites
            : sprites // ignore: cast_nullable_to_non_nullable
                as Sprite,
      ));
    }
  }
  
  /// @nodoc
  @JsonSerializable()
  class _$_Pokemon implements _Pokemon {
    const _$_Pokemon(
        {required this.id,
        required this.name,
        required this.height,
        required this.weight,
        required this.sprites});
  
    factory _$_Pokemon.fromJson(Map<String, dynamic> json) =>
        _$$_PokemonFromJson(json);
  
    @override
    final int id;
    @override
    final String name;
    @override
    final int height;
    @override
    final int weight;
    @override
    final Sprite sprites;
  
    @override
    String toString() {
      return 'Pokemon(id: $id, name: $name, height: $height, weight: $weight, sprites: $sprites)';
    }
  
    @override
    bool operator ==(dynamic other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType &&
              other is _$_Pokemon &&
              (identical(other.id, id) || other.id == id) &&
              (identical(other.name, name) || other.name == name) &&
              (identical(other.height, height) || other.height == height) &&
              (identical(other.weight, weight) || other.weight == weight) &&
              (identical(other.sprites, sprites) || other.sprites == sprites));
    }
  
    @JsonKey(ignore: true)
    @override
    int get hashCode =>
        Object.hash(runtimeType, id, name, height, weight, sprites);
  
    @JsonKey(ignore: true)
    @override
    @pragma('vm:prefer-inline')
    _$$_PokemonCopyWith<_$_Pokemon> get copyWith =>
        __$$_PokemonCopyWithImpl<_$_Pokemon>(this, _$identity);
  
    @override
    Map<String, dynamic> toJson() {
      return _$$_PokemonToJson(
        this,
      );
    }
  }
  
  abstract class _Pokemon implements Pokemon {
    const factory _Pokemon(
        {required final int id,
        required final String name,
        required final int height,
        required final int weight,
        required final Sprite sprites}) = _$_Pokemon;
  
    factory _Pokemon.fromJson(Map<String, dynamic> json) = _$_Pokemon.fromJson;
  
    @override
    int get id;
    @override
    String get name;
    @override
    int get height;
    @override
    int get weight;
    @override
    Sprite get sprites;
    @override
    @JsonKey(ignore: true)
    _$$_PokemonCopyWith<_$_Pokemon> get copyWith =>
        throw _privateConstructorUsedError;
  }
  