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 'recent.vm.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 _$RecentsStateTearOff {
    const _$RecentsStateTearOff();
  
    _Loading loading() {
      return const _Loading();
    }
  
    _Data data({required List<Order> recentOrders}) {
      return _Data(
        recentOrders: recentOrders,
      );
    }
  
    _Empty empty() {
      return const _Empty();
    }
  }
  
  /// @nodoc
  const $RecentsState = _$RecentsStateTearOff();
  
  /// @nodoc
  mixin _$RecentsState {
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() loading,
      required TResult Function(List<Order> recentOrders) data,
      required TResult Function() empty,
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function(List<Order> recentOrders)? data,
      TResult Function()? empty,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Loading value) loading,
      required TResult Function(_Data value) data,
      required TResult Function(_Empty value) empty,
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_Data value)? data,
      TResult Function(_Empty value)? empty,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class $RecentsStateCopyWith<$Res> {
    factory $RecentsStateCopyWith(
            RecentsState value, $Res Function(RecentsState) then) =
        _$RecentsStateCopyWithImpl<$Res>;
  }
  
  /// @nodoc
  class _$RecentsStateCopyWithImpl<$Res> implements $RecentsStateCopyWith<$Res> {
    _$RecentsStateCopyWithImpl(this._value, this._then);
  
    final RecentsState _value;
    // ignore: unused_field
    final $Res Function(RecentsState) _then;
  }
  
  /// @nodoc
  abstract class _$LoadingCopyWith<$Res> {
    factory _$LoadingCopyWith(_Loading value, $Res Function(_Loading) then) =
        __$LoadingCopyWithImpl<$Res>;
  }
  
  /// @nodoc
  class __$LoadingCopyWithImpl<$Res> extends _$RecentsStateCopyWithImpl<$Res>
      implements _$LoadingCopyWith<$Res> {
    __$LoadingCopyWithImpl(_Loading _value, $Res Function(_Loading) _then)
        : super(_value, (v) => _then(v as _Loading));
  
    @override
    _Loading get _value => super._value as _Loading;
  }
  
  /// @nodoc
  
  class _$_Loading implements _Loading {
    const _$_Loading();
  
    @override
    String toString() {
      return 'RecentsState.loading()';
    }
  
    @override
    bool operator ==(dynamic other) {
      return identical(this, other) || (other is _Loading);
    }
  
    @override
    int get hashCode => runtimeType.hashCode;
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() loading,
      required TResult Function(List<Order> recentOrders) data,
      required TResult Function() empty,
    }) {
      return loading();
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function(List<Order> recentOrders)? data,
      TResult Function()? empty,
      required TResult orElse(),
    }) {
      if (loading != null) {
        return loading();
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Loading value) loading,
      required TResult Function(_Data value) data,
      required TResult Function(_Empty value) empty,
    }) {
      return loading(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_Data value)? data,
      TResult Function(_Empty value)? empty,
      required TResult orElse(),
    }) {
      if (loading != null) {
        return loading(this);
      }
      return orElse();
    }
  }
  
  abstract class _Loading implements RecentsState {
    const factory _Loading() = _$_Loading;
  }
  
  /// @nodoc
  abstract class _$DataCopyWith<$Res> {
    factory _$DataCopyWith(_Data value, $Res Function(_Data) then) =
        __$DataCopyWithImpl<$Res>;
    $Res call({List<Order> recentOrders});
  }
  
  /// @nodoc
  class __$DataCopyWithImpl<$Res> extends _$RecentsStateCopyWithImpl<$Res>
      implements _$DataCopyWith<$Res> {
    __$DataCopyWithImpl(_Data _value, $Res Function(_Data) _then)
        : super(_value, (v) => _then(v as _Data));
  
    @override
    _Data get _value => super._value as _Data;
  
    @override
    $Res call({
      Object? recentOrders = freezed,
    }) {
      return _then(_Data(
        recentOrders: recentOrders == freezed
            ? _value.recentOrders
            : recentOrders // ignore: cast_nullable_to_non_nullable
                as List<Order>,
      ));
    }
  }
  
  /// @nodoc
  
  class _$_Data implements _Data {
    const _$_Data({required this.recentOrders});
  
    @override
    final List<Order> recentOrders;
  
    @override
    String toString() {
      return 'RecentsState.data(recentOrders: $recentOrders)';
    }
  
    @override
    bool operator ==(dynamic other) {
      return identical(this, other) ||
          (other is _Data &&
              (identical(other.recentOrders, recentOrders) ||
                  const DeepCollectionEquality()
                      .equals(other.recentOrders, recentOrders)));
    }
  
    @override
    int get hashCode =>
        runtimeType.hashCode ^ const DeepCollectionEquality().hash(recentOrders);
  
    @JsonKey(ignore: true)
    @override
    _$DataCopyWith<_Data> get copyWith =>
        __$DataCopyWithImpl<_Data>(this, _$identity);
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() loading,
      required TResult Function(List<Order> recentOrders) data,
      required TResult Function() empty,
    }) {
      return data(recentOrders);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function(List<Order> recentOrders)? data,
      TResult Function()? empty,
      required TResult orElse(),
    }) {
      if (data != null) {
        return data(recentOrders);
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Loading value) loading,
      required TResult Function(_Data value) data,
      required TResult Function(_Empty value) empty,
    }) {
      return data(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_Data value)? data,
      TResult Function(_Empty value)? empty,
      required TResult orElse(),
    }) {
      if (data != null) {
        return data(this);
      }
      return orElse();
    }
  }
  
  abstract class _Data implements RecentsState {
    const factory _Data({required List<Order> recentOrders}) = _$_Data;
  
    List<Order> get recentOrders => throw _privateConstructorUsedError;
    @JsonKey(ignore: true)
    _$DataCopyWith<_Data> get copyWith => throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class _$EmptyCopyWith<$Res> {
    factory _$EmptyCopyWith(_Empty value, $Res Function(_Empty) then) =
        __$EmptyCopyWithImpl<$Res>;
  }
  
  /// @nodoc
  class __$EmptyCopyWithImpl<$Res> extends _$RecentsStateCopyWithImpl<$Res>
      implements _$EmptyCopyWith<$Res> {
    __$EmptyCopyWithImpl(_Empty _value, $Res Function(_Empty) _then)
        : super(_value, (v) => _then(v as _Empty));
  
    @override
    _Empty get _value => super._value as _Empty;
  }
  
  /// @nodoc
  
  class _$_Empty implements _Empty {
    const _$_Empty();
  
    @override
    String toString() {
      return 'RecentsState.empty()';
    }
  
    @override
    bool operator ==(dynamic other) {
      return identical(this, other) || (other is _Empty);
    }
  
    @override
    int get hashCode => runtimeType.hashCode;
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() loading,
      required TResult Function(List<Order> recentOrders) data,
      required TResult Function() empty,
    }) {
      return empty();
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function(List<Order> recentOrders)? data,
      TResult Function()? empty,
      required TResult orElse(),
    }) {
      if (empty != null) {
        return empty();
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Loading value) loading,
      required TResult Function(_Data value) data,
      required TResult Function(_Empty value) empty,
    }) {
      return empty(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_Data value)? data,
      TResult Function(_Empty value)? empty,
      required TResult orElse(),
    }) {
      if (empty != null) {
        return empty(this);
      }
      return orElse();
    }
  }
  
  abstract class _Empty implements RecentsState {
    const factory _Empty() = _$_Empty;
  }
  