content: // 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
  
  part of 'price.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');
  
  /// @nodoc
  class _$PriceTearOff {
    const _$PriceTearOff();
  
    _Price call({required double price, required double amount}) {
      return _Price(
        price: price,
        amount: amount,
      );
    }
  }
  
  /// @nodoc
  const $Price = _$PriceTearOff();
  
  /// @nodoc
  mixin _$Price {
    double get price => throw _privateConstructorUsedError;
    double get amount => throw _privateConstructorUsedError;
  
    @JsonKey(ignore: true)
    $PriceCopyWith<Price> get copyWith => throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class $PriceCopyWith<$Res> {
    factory $PriceCopyWith(Price value, $Res Function(Price) then) =
        _$PriceCopyWithImpl<$Res>;
    $Res call({double price, double amount});
  }
  
  /// @nodoc
  class _$PriceCopyWithImpl<$Res> implements $PriceCopyWith<$Res> {
    _$PriceCopyWithImpl(this._value, this._then);
  
    final Price _value;
    // ignore: unused_field
    final $Res Function(Price) _then;
  
    @override
    $Res call({
      Object? price = freezed,
      Object? amount = freezed,
    }) {
      return _then(_value.copyWith(
        price: price == freezed
            ? _value.price
            : price // ignore: cast_nullable_to_non_nullable
                as double,
        amount: amount == freezed
            ? _value.amount
            : amount // ignore: cast_nullable_to_non_nullable
                as double,
      ));
    }
  }
  
  /// @nodoc
  abstract class _$PriceCopyWith<$Res> implements $PriceCopyWith<$Res> {
    factory _$PriceCopyWith(_Price value, $Res Function(_Price) then) =
        __$PriceCopyWithImpl<$Res>;
    @override
    $Res call({double price, double amount});
  }
  
  /// @nodoc
  class __$PriceCopyWithImpl<$Res> extends _$PriceCopyWithImpl<$Res>
      implements _$PriceCopyWith<$Res> {
    __$PriceCopyWithImpl(_Price _value, $Res Function(_Price) _then)
        : super(_value, (v) => _then(v as _Price));
  
    @override
    _Price get _value => super._value as _Price;
  
    @override
    $Res call({
      Object? price = freezed,
      Object? amount = freezed,
    }) {
      return _then(_Price(
        price: price == freezed
            ? _value.price
            : price // ignore: cast_nullable_to_non_nullable
                as double,
        amount: amount == freezed
            ? _value.amount
            : amount // ignore: cast_nullable_to_non_nullable
                as double,
      ));
    }
  }
  
  /// @nodoc
  
  class _$_Price implements _Price {
    const _$_Price({required this.price, required this.amount});
  
    @override
    final double price;
    @override
    final double amount;
  
    @override
    String toString() {
      return 'Price(price: $price, amount: $amount)';
    }
  
    @override
    bool operator ==(dynamic other) {
      return identical(this, other) ||
          (other is _Price &&
              (identical(other.price, price) ||
                  const DeepCollectionEquality().equals(other.price, price)) &&
              (identical(other.amount, amount) ||
                  const DeepCollectionEquality().equals(other.amount, amount)));
    }
  
    @override
    int get hashCode =>
        runtimeType.hashCode ^
        const DeepCollectionEquality().hash(price) ^
        const DeepCollectionEquality().hash(amount);
  
    @JsonKey(ignore: true)
    @override
    _$PriceCopyWith<_Price> get copyWith =>
        __$PriceCopyWithImpl<_Price>(this, _$identity);
  }
  
  abstract class _Price implements Price {
    const factory _Price({required double price, required double amount}) =
        _$_Price;
  
    @override
    double get price => throw _privateConstructorUsedError;
    @override
    double get amount => throw _privateConstructorUsedError;
    @override
    @JsonKey(ignore: true)
    _$PriceCopyWith<_Price> get copyWith => throw _privateConstructorUsedError;
  }
  