// 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 'order_address_state.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');

/// @nodoc
mixin _$OrderAddressState {
  TextEditingController? get textController =>
      throw _privateConstructorUsedError;
  Location? get location => throw _privateConstructorUsedError;
  String get entrance => throw _privateConstructorUsedError;
  String get floor => throw _privateConstructorUsedError;
  String get house => throw _privateConstructorUsedError;
  List<UserData> get users => throw _privateConstructorUsedError;
  int get selectedIndex => throw _privateConstructorUsedError;
  int get selectedAddressIndex => throw _privateConstructorUsedError;
  int get id => throw _privateConstructorUsedError;
  bool get isAddressLoading => throw _privateConstructorUsedError;
  bool get isNewAddress => throw _privateConstructorUsedError;
  UserData? get selectedUser => throw _privateConstructorUsedError;
  UserAddressData? get user => throw _privateConstructorUsedError;
  Address? get selectedAddress => throw _privateConstructorUsedError;

  @JsonKey(ignore: true)
  $OrderAddressStateCopyWith<OrderAddressState> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $OrderAddressStateCopyWith<$Res> {
  factory $OrderAddressStateCopyWith(
          OrderAddressState value, $Res Function(OrderAddressState) then) =
      _$OrderAddressStateCopyWithImpl<$Res, OrderAddressState>;
  @useResult
  $Res call(
      {TextEditingController? textController,
      Location? location,
      String entrance,
      String floor,
      String house,
      List<UserData> users,
      int selectedIndex,
      int selectedAddressIndex,
      int id,
      bool isAddressLoading,
      bool isNewAddress,
      UserData? selectedUser,
      UserAddressData? user,
      Address? selectedAddress});
}

/// @nodoc
class _$OrderAddressStateCopyWithImpl<$Res, $Val extends OrderAddressState>
    implements $OrderAddressStateCopyWith<$Res> {
  _$OrderAddressStateCopyWithImpl(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? textController = freezed,
    Object? location = freezed,
    Object? entrance = null,
    Object? floor = null,
    Object? house = null,
    Object? users = null,
    Object? selectedIndex = null,
    Object? selectedAddressIndex = null,
    Object? id = null,
    Object? isAddressLoading = null,
    Object? isNewAddress = null,
    Object? selectedUser = freezed,
    Object? user = freezed,
    Object? selectedAddress = freezed,
  }) {
    return _then(_value.copyWith(
      textController: freezed == textController
          ? _value.textController
          : textController // ignore: cast_nullable_to_non_nullable
              as TextEditingController?,
      location: freezed == location
          ? _value.location
          : location // ignore: cast_nullable_to_non_nullable
              as Location?,
      entrance: null == entrance
          ? _value.entrance
          : entrance // ignore: cast_nullable_to_non_nullable
              as String,
      floor: null == floor
          ? _value.floor
          : floor // ignore: cast_nullable_to_non_nullable
              as String,
      house: null == house
          ? _value.house
          : house // ignore: cast_nullable_to_non_nullable
              as String,
      users: null == users
          ? _value.users
          : users // ignore: cast_nullable_to_non_nullable
              as List<UserData>,
      selectedIndex: null == selectedIndex
          ? _value.selectedIndex
          : selectedIndex // ignore: cast_nullable_to_non_nullable
              as int,
      selectedAddressIndex: null == selectedAddressIndex
          ? _value.selectedAddressIndex
          : selectedAddressIndex // ignore: cast_nullable_to_non_nullable
              as int,
      id: null == id
          ? _value.id
          : id // ignore: cast_nullable_to_non_nullable
              as int,
      isAddressLoading: null == isAddressLoading
          ? _value.isAddressLoading
          : isAddressLoading // ignore: cast_nullable_to_non_nullable
              as bool,
      isNewAddress: null == isNewAddress
          ? _value.isNewAddress
          : isNewAddress // ignore: cast_nullable_to_non_nullable
              as bool,
      selectedUser: freezed == selectedUser
          ? _value.selectedUser
          : selectedUser // ignore: cast_nullable_to_non_nullable
              as UserData?,
      user: freezed == user
          ? _value.user
          : user // ignore: cast_nullable_to_non_nullable
              as UserAddressData?,
      selectedAddress: freezed == selectedAddress
          ? _value.selectedAddress
          : selectedAddress // ignore: cast_nullable_to_non_nullable
              as Address?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$_OrderAddressStateCopyWith<$Res>
    implements $OrderAddressStateCopyWith<$Res> {
  factory _$$_OrderAddressStateCopyWith(_$_OrderAddressState value,
          $Res Function(_$_OrderAddressState) then) =
      __$$_OrderAddressStateCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {TextEditingController? textController,
      Location? location,
      String entrance,
      String floor,
      String house,
      List<UserData> users,
      int selectedIndex,
      int selectedAddressIndex,
      int id,
      bool isAddressLoading,
      bool isNewAddress,
      UserData? selectedUser,
      UserAddressData? user,
      Address? selectedAddress});
}

/// @nodoc
class __$$_OrderAddressStateCopyWithImpl<$Res>
    extends _$OrderAddressStateCopyWithImpl<$Res, _$_OrderAddressState>
    implements _$$_OrderAddressStateCopyWith<$Res> {
  __$$_OrderAddressStateCopyWithImpl(
      _$_OrderAddressState _value, $Res Function(_$_OrderAddressState) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? textController = freezed,
    Object? location = freezed,
    Object? entrance = null,
    Object? floor = null,
    Object? house = null,
    Object? users = null,
    Object? selectedIndex = null,
    Object? selectedAddressIndex = null,
    Object? id = null,
    Object? isAddressLoading = null,
    Object? isNewAddress = null,
    Object? selectedUser = freezed,
    Object? user = freezed,
    Object? selectedAddress = freezed,
  }) {
    return _then(_$_OrderAddressState(
      textController: freezed == textController
          ? _value.textController
          : textController // ignore: cast_nullable_to_non_nullable
              as TextEditingController?,
      location: freezed == location
          ? _value.location
          : location // ignore: cast_nullable_to_non_nullable
              as Location?,
      entrance: null == entrance
          ? _value.entrance
          : entrance // ignore: cast_nullable_to_non_nullable
              as String,
      floor: null == floor
          ? _value.floor
          : floor // ignore: cast_nullable_to_non_nullable
              as String,
      house: null == house
          ? _value.house
          : house // ignore: cast_nullable_to_non_nullable
              as String,
      users: null == users
          ? _value._users
          : users // ignore: cast_nullable_to_non_nullable
              as List<UserData>,
      selectedIndex: null == selectedIndex
          ? _value.selectedIndex
          : selectedIndex // ignore: cast_nullable_to_non_nullable
              as int,
      selectedAddressIndex: null == selectedAddressIndex
          ? _value.selectedAddressIndex
          : selectedAddressIndex // ignore: cast_nullable_to_non_nullable
              as int,
      id: null == id
          ? _value.id
          : id // ignore: cast_nullable_to_non_nullable
              as int,
      isAddressLoading: null == isAddressLoading
          ? _value.isAddressLoading
          : isAddressLoading // ignore: cast_nullable_to_non_nullable
              as bool,
      isNewAddress: null == isNewAddress
          ? _value.isNewAddress
          : isNewAddress // ignore: cast_nullable_to_non_nullable
              as bool,
      selectedUser: freezed == selectedUser
          ? _value.selectedUser
          : selectedUser // ignore: cast_nullable_to_non_nullable
              as UserData?,
      user: freezed == user
          ? _value.user
          : user // ignore: cast_nullable_to_non_nullable
              as UserAddressData?,
      selectedAddress: freezed == selectedAddress
          ? _value.selectedAddress
          : selectedAddress // ignore: cast_nullable_to_non_nullable
              as Address?,
    ));
  }
}

/// @nodoc

class _$_OrderAddressState extends _OrderAddressState {
  const _$_OrderAddressState(
      {this.textController,
      this.location,
      this.entrance = '',
      this.floor = '',
      this.house = '',
      final List<UserData> users = const [],
      this.selectedIndex = 0,
      this.selectedAddressIndex = 0,
      this.id = 0,
      this.isAddressLoading = false,
      this.isNewAddress = false,
      this.selectedUser,
      this.user,
      this.selectedAddress})
      : _users = users,
        super._();

  @override
  final TextEditingController? textController;
  @override
  final Location? location;
  @override
  @JsonKey()
  final String entrance;
  @override
  @JsonKey()
  final String floor;
  @override
  @JsonKey()
  final String house;
  final List<UserData> _users;
  @override
  @JsonKey()
  List<UserData> get users {
    if (_users is EqualUnmodifiableListView) return _users;
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableListView(_users);
  }

  @override
  @JsonKey()
  final int selectedIndex;
  @override
  @JsonKey()
  final int selectedAddressIndex;
  @override
  @JsonKey()
  final int id;
  @override
  @JsonKey()
  final bool isAddressLoading;
  @override
  @JsonKey()
  final bool isNewAddress;
  @override
  final UserData? selectedUser;
  @override
  final UserAddressData? user;
  @override
  final Address? selectedAddress;

  @override
  String toString() {
    return 'OrderAddressState(textController: $textController, location: $location, entrance: $entrance, floor: $floor, house: $house, users: $users, selectedIndex: $selectedIndex, selectedAddressIndex: $selectedAddressIndex, id: $id, isAddressLoading: $isAddressLoading, isNewAddress: $isNewAddress, selectedUser: $selectedUser, user: $user, selectedAddress: $selectedAddress)';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$_OrderAddressState &&
            (identical(other.textController, textController) ||
                other.textController == textController) &&
            (identical(other.location, location) ||
                other.location == location) &&
            (identical(other.entrance, entrance) ||
                other.entrance == entrance) &&
            (identical(other.floor, floor) || other.floor == floor) &&
            (identical(other.house, house) || other.house == house) &&
            const DeepCollectionEquality().equals(other._users, _users) &&
            (identical(other.selectedIndex, selectedIndex) ||
                other.selectedIndex == selectedIndex) &&
            (identical(other.selectedAddressIndex, selectedAddressIndex) ||
                other.selectedAddressIndex == selectedAddressIndex) &&
            (identical(other.id, id) || other.id == id) &&
            (identical(other.isAddressLoading, isAddressLoading) ||
                other.isAddressLoading == isAddressLoading) &&
            (identical(other.isNewAddress, isNewAddress) ||
                other.isNewAddress == isNewAddress) &&
            (identical(other.selectedUser, selectedUser) ||
                other.selectedUser == selectedUser) &&
            (identical(other.user, user) || other.user == user) &&
            (identical(other.selectedAddress, selectedAddress) ||
                other.selectedAddress == selectedAddress));
  }

  @override
  int get hashCode => Object.hash(
      runtimeType,
      textController,
      location,
      entrance,
      floor,
      house,
      const DeepCollectionEquality().hash(_users),
      selectedIndex,
      selectedAddressIndex,
      id,
      isAddressLoading,
      isNewAddress,
      selectedUser,
      user,
      selectedAddress);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$_OrderAddressStateCopyWith<_$_OrderAddressState> get copyWith =>
      __$$_OrderAddressStateCopyWithImpl<_$_OrderAddressState>(
          this, _$identity);
}

abstract class _OrderAddressState extends OrderAddressState {
  const factory _OrderAddressState(
      {final TextEditingController? textController,
      final Location? location,
      final String entrance,
      final String floor,
      final String house,
      final List<UserData> users,
      final int selectedIndex,
      final int selectedAddressIndex,
      final int id,
      final bool isAddressLoading,
      final bool isNewAddress,
      final UserData? selectedUser,
      final UserAddressData? user,
      final Address? selectedAddress}) = _$_OrderAddressState;
  const _OrderAddressState._() : super._();

  @override
  TextEditingController? get textController;
  @override
  Location? get location;
  @override
  String get entrance;
  @override
  String get floor;
  @override
  String get house;
  @override
  List<UserData> get users;
  @override
  int get selectedIndex;
  @override
  int get selectedAddressIndex;
  @override
  int get id;
  @override
  bool get isAddressLoading;
  @override
  bool get isNewAddress;
  @override
  UserData? get selectedUser;
  @override
  UserAddressData? get user;
  @override
  Address? get selectedAddress;
  @override
  @JsonKey(ignore: true)
  _$$_OrderAddressStateCopyWith<_$_OrderAddressState> get copyWith =>
      throw _privateConstructorUsedError;
}
