// 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 'select_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 _$SelectAddressState {
  bool get isSearching => throw _privateConstructorUsedError;
  bool get isSearchLoading => throw _privateConstructorUsedError;
  bool get isChoosing => throw _privateConstructorUsedError;
  bool get isAddAddressLoading => throw _privateConstructorUsedError;
  List<Place> get searchedPlaces => throw _privateConstructorUsedError;
  TextEditingController? get textController =>
      throw _privateConstructorUsedError;
  String? get title => throw _privateConstructorUsedError;
  GoogleMapController? get mapController => throw _privateConstructorUsedError;
  Location? get location => throw _privateConstructorUsedError;

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

/// @nodoc
abstract class $SelectAddressStateCopyWith<$Res> {
  factory $SelectAddressStateCopyWith(
          SelectAddressState value, $Res Function(SelectAddressState) then) =
      _$SelectAddressStateCopyWithImpl<$Res, SelectAddressState>;
  @useResult
  $Res call(
      {bool isSearching,
      bool isSearchLoading,
      bool isChoosing,
      bool isAddAddressLoading,
      List<Place> searchedPlaces,
      TextEditingController? textController,
      String? title,
      GoogleMapController? mapController,
      Location? location});
}

/// @nodoc
class _$SelectAddressStateCopyWithImpl<$Res, $Val extends SelectAddressState>
    implements $SelectAddressStateCopyWith<$Res> {
  _$SelectAddressStateCopyWithImpl(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? isSearching = null,
    Object? isSearchLoading = null,
    Object? isChoosing = null,
    Object? isAddAddressLoading = null,
    Object? searchedPlaces = null,
    Object? textController = freezed,
    Object? title = freezed,
    Object? mapController = freezed,
    Object? location = freezed,
  }) {
    return _then(_value.copyWith(
      isSearching: null == isSearching
          ? _value.isSearching
          : isSearching // ignore: cast_nullable_to_non_nullable
              as bool,
      isSearchLoading: null == isSearchLoading
          ? _value.isSearchLoading
          : isSearchLoading // ignore: cast_nullable_to_non_nullable
              as bool,
      isChoosing: null == isChoosing
          ? _value.isChoosing
          : isChoosing // ignore: cast_nullable_to_non_nullable
              as bool,
      isAddAddressLoading: null == isAddAddressLoading
          ? _value.isAddAddressLoading
          : isAddAddressLoading // ignore: cast_nullable_to_non_nullable
              as bool,
      searchedPlaces: null == searchedPlaces
          ? _value.searchedPlaces
          : searchedPlaces // ignore: cast_nullable_to_non_nullable
              as List<Place>,
      textController: freezed == textController
          ? _value.textController
          : textController // ignore: cast_nullable_to_non_nullable
              as TextEditingController?,
      title: freezed == title
          ? _value.title
          : title // ignore: cast_nullable_to_non_nullable
              as String?,
      mapController: freezed == mapController
          ? _value.mapController
          : mapController // ignore: cast_nullable_to_non_nullable
              as GoogleMapController?,
      location: freezed == location
          ? _value.location
          : location // ignore: cast_nullable_to_non_nullable
              as Location?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$_SelectAddressStateCopyWith<$Res>
    implements $SelectAddressStateCopyWith<$Res> {
  factory _$$_SelectAddressStateCopyWith(_$_SelectAddressState value,
          $Res Function(_$_SelectAddressState) then) =
      __$$_SelectAddressStateCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {bool isSearching,
      bool isSearchLoading,
      bool isChoosing,
      bool isAddAddressLoading,
      List<Place> searchedPlaces,
      TextEditingController? textController,
      String? title,
      GoogleMapController? mapController,
      Location? location});
}

/// @nodoc
class __$$_SelectAddressStateCopyWithImpl<$Res>
    extends _$SelectAddressStateCopyWithImpl<$Res, _$_SelectAddressState>
    implements _$$_SelectAddressStateCopyWith<$Res> {
  __$$_SelectAddressStateCopyWithImpl(
      _$_SelectAddressState _value, $Res Function(_$_SelectAddressState) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? isSearching = null,
    Object? isSearchLoading = null,
    Object? isChoosing = null,
    Object? isAddAddressLoading = null,
    Object? searchedPlaces = null,
    Object? textController = freezed,
    Object? title = freezed,
    Object? mapController = freezed,
    Object? location = freezed,
  }) {
    return _then(_$_SelectAddressState(
      isSearching: null == isSearching
          ? _value.isSearching
          : isSearching // ignore: cast_nullable_to_non_nullable
              as bool,
      isSearchLoading: null == isSearchLoading
          ? _value.isSearchLoading
          : isSearchLoading // ignore: cast_nullable_to_non_nullable
              as bool,
      isChoosing: null == isChoosing
          ? _value.isChoosing
          : isChoosing // ignore: cast_nullable_to_non_nullable
              as bool,
      isAddAddressLoading: null == isAddAddressLoading
          ? _value.isAddAddressLoading
          : isAddAddressLoading // ignore: cast_nullable_to_non_nullable
              as bool,
      searchedPlaces: null == searchedPlaces
          ? _value._searchedPlaces
          : searchedPlaces // ignore: cast_nullable_to_non_nullable
              as List<Place>,
      textController: freezed == textController
          ? _value.textController
          : textController // ignore: cast_nullable_to_non_nullable
              as TextEditingController?,
      title: freezed == title
          ? _value.title
          : title // ignore: cast_nullable_to_non_nullable
              as String?,
      mapController: freezed == mapController
          ? _value.mapController
          : mapController // ignore: cast_nullable_to_non_nullable
              as GoogleMapController?,
      location: freezed == location
          ? _value.location
          : location // ignore: cast_nullable_to_non_nullable
              as Location?,
    ));
  }
}

/// @nodoc

class _$_SelectAddressState extends _SelectAddressState {
  const _$_SelectAddressState(
      {this.isSearching = false,
      this.isSearchLoading = false,
      this.isChoosing = false,
      this.isAddAddressLoading = false,
      final List<Place> searchedPlaces = const [],
      this.textController,
      this.title = null,
      this.mapController,
      this.location})
      : _searchedPlaces = searchedPlaces,
        super._();

  @override
  @JsonKey()
  final bool isSearching;
  @override
  @JsonKey()
  final bool isSearchLoading;
  @override
  @JsonKey()
  final bool isChoosing;
  @override
  @JsonKey()
  final bool isAddAddressLoading;
  final List<Place> _searchedPlaces;
  @override
  @JsonKey()
  List<Place> get searchedPlaces {
    if (_searchedPlaces is EqualUnmodifiableListView) return _searchedPlaces;
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableListView(_searchedPlaces);
  }

  @override
  final TextEditingController? textController;
  @override
  @JsonKey()
  final String? title;
  @override
  final GoogleMapController? mapController;
  @override
  final Location? location;

  @override
  String toString() {
    return 'SelectAddressState(isSearching: $isSearching, isSearchLoading: $isSearchLoading, isChoosing: $isChoosing, isAddAddressLoading: $isAddAddressLoading, searchedPlaces: $searchedPlaces, textController: $textController, title: $title, mapController: $mapController, location: $location)';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$_SelectAddressState &&
            (identical(other.isSearching, isSearching) ||
                other.isSearching == isSearching) &&
            (identical(other.isSearchLoading, isSearchLoading) ||
                other.isSearchLoading == isSearchLoading) &&
            (identical(other.isChoosing, isChoosing) ||
                other.isChoosing == isChoosing) &&
            (identical(other.isAddAddressLoading, isAddAddressLoading) ||
                other.isAddAddressLoading == isAddAddressLoading) &&
            const DeepCollectionEquality()
                .equals(other._searchedPlaces, _searchedPlaces) &&
            (identical(other.textController, textController) ||
                other.textController == textController) &&
            (identical(other.title, title) || other.title == title) &&
            (identical(other.mapController, mapController) ||
                other.mapController == mapController) &&
            (identical(other.location, location) ||
                other.location == location));
  }

  @override
  int get hashCode => Object.hash(
      runtimeType,
      isSearching,
      isSearchLoading,
      isChoosing,
      isAddAddressLoading,
      const DeepCollectionEquality().hash(_searchedPlaces),
      textController,
      title,
      mapController,
      location);

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

abstract class _SelectAddressState extends SelectAddressState {
  const factory _SelectAddressState(
      {final bool isSearching,
      final bool isSearchLoading,
      final bool isChoosing,
      final bool isAddAddressLoading,
      final List<Place> searchedPlaces,
      final TextEditingController? textController,
      final String? title,
      final GoogleMapController? mapController,
      final Location? location}) = _$_SelectAddressState;
  const _SelectAddressState._() : super._();

  @override
  bool get isSearching;
  @override
  bool get isSearchLoading;
  @override
  bool get isChoosing;
  @override
  bool get isAddAddressLoading;
  @override
  List<Place> get searchedPlaces;
  @override
  TextEditingController? get textController;
  @override
  String? get title;
  @override
  GoogleMapController? get mapController;
  @override
  Location? get location;
  @override
  @JsonKey(ignore: true)
  _$$_SelectAddressStateCopyWith<_$_SelectAddressState> get copyWith =>
      throw _privateConstructorUsedError;
}
