// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'add_favorite_place.data.gql.dart';

// **************************************************************************
// BuiltValueGenerator
// **************************************************************************

Serializer<GAddFavoritePlaceData> _$gAddFavoritePlaceDataSerializer =
    _$GAddFavoritePlaceDataSerializer();
Serializer<GAddFavoritePlaceData_addFavoritePlace>
_$gAddFavoritePlaceDataAddFavoritePlaceSerializer =
    _$GAddFavoritePlaceData_addFavoritePlaceSerializer();
Serializer<GAddFavoritePlaceData_addFavoritePlace_experiences>
_$gAddFavoritePlaceDataAddFavoritePlaceExperiencesSerializer =
    _$GAddFavoritePlaceData_addFavoritePlace_experiencesSerializer();

class _$GAddFavoritePlaceDataSerializer
    implements StructuredSerializer<GAddFavoritePlaceData> {
  @override
  final Iterable<Type> types = const [
    GAddFavoritePlaceData,
    _$GAddFavoritePlaceData,
  ];
  @override
  final String wireName = 'GAddFavoritePlaceData';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GAddFavoritePlaceData object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'addFavoritePlace',
      serializers.serialize(
        object.addFavoritePlace,
        specifiedType: const FullType(GAddFavoritePlaceData_addFavoritePlace),
      ),
    ];

    return result;
  }

  @override
  GAddFavoritePlaceData deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = GAddFavoritePlaceDataBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'addFavoritePlace':
          result.addFavoritePlace.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(
                    GAddFavoritePlaceData_addFavoritePlace,
                  ),
                )!
                as GAddFavoritePlaceData_addFavoritePlace,
          );
          break;
      }
    }

    return result.build();
  }
}

class _$GAddFavoritePlaceData_addFavoritePlaceSerializer
    implements StructuredSerializer<GAddFavoritePlaceData_addFavoritePlace> {
  @override
  final Iterable<Type> types = const [
    GAddFavoritePlaceData_addFavoritePlace,
    _$GAddFavoritePlaceData_addFavoritePlace,
  ];
  @override
  final String wireName = 'GAddFavoritePlaceData_addFavoritePlace';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GAddFavoritePlaceData_addFavoritePlace object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'id',
      serializers.serialize(object.id, specifiedType: const FullType(String)),
      'googlePlaceId',
      serializers.serialize(
        object.googlePlaceId,
        specifiedType: const FullType(String),
      ),
      'name',
      serializers.serialize(object.name, specifiedType: const FullType(String)),
      'latitude',
      serializers.serialize(
        object.latitude,
        specifiedType: const FullType(double),
      ),
      'longitude',
      serializers.serialize(
        object.longitude,
        specifiedType: const FullType(double),
      ),
      'googleTypes',
      serializers.serialize(
        object.googleTypes,
        specifiedType: const FullType(BuiltList, const [
          const FullType(String),
        ]),
      ),
      'photoUrls',
      serializers.serialize(
        object.photoUrls,
        specifiedType: const FullType(BuiltList, const [
          const FullType(String),
        ]),
      ),
      'traits',
      serializers.serialize(
        object.traits,
        specifiedType: const FullType(BuiltList, const [
          const FullType(String),
        ]),
      ),
      'isFavorite',
      serializers.serialize(
        object.isFavorite,
        specifiedType: const FullType(bool),
      ),
      'experiences',
      serializers.serialize(
        object.experiences,
        specifiedType: const FullType(BuiltList, const [
          const FullType(GAddFavoritePlaceData_addFavoritePlace_experiences),
        ]),
      ),
    ];
    Object? value;
    value = object.googlePrimaryType;
    if (value != null) {
      result
        ..add('googlePrimaryType')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    value = object.googleBusinessStatus;
    if (value != null) {
      result
        ..add('googleBusinessStatus')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    value = object.googleRating;
    if (value != null) {
      result
        ..add('googleRating')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(double)),
        );
    }
    value = object.googleUserRatingCount;
    if (value != null) {
      result
        ..add('googleUserRatingCount')
        ..add(serializers.serialize(value, specifiedType: const FullType(int)));
    }
    value = object.googleRegularOpeningHours;
    if (value != null) {
      result
        ..add('googleRegularOpeningHours')
        ..add(
          serializers.serialize(
            value,
            specifiedType: const FullType(_i2.JsonObject),
          ),
        );
    }
    value = object.googleCurrentOpeningHours;
    if (value != null) {
      result
        ..add('googleCurrentOpeningHours')
        ..add(
          serializers.serialize(
            value,
            specifiedType: const FullType(_i2.JsonObject),
          ),
        );
    }
    return result;
  }

  @override
  GAddFavoritePlaceData_addFavoritePlace deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = GAddFavoritePlaceData_addFavoritePlaceBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'id':
          result.id =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'googlePlaceId':
          result.googlePlaceId =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'name':
          result.name =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'latitude':
          result.latitude =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(double),
                  )!
                  as double;
          break;
        case 'longitude':
          result.longitude =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(double),
                  )!
                  as double;
          break;
        case 'googlePrimaryType':
          result.googlePrimaryType =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
        case 'googleTypes':
          result.googleTypes.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(BuiltList, const [
                    const FullType(String),
                  ]),
                )!
                as BuiltList<Object?>,
          );
          break;
        case 'googleBusinessStatus':
          result.googleBusinessStatus =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
        case 'googleRating':
          result.googleRating =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(double),
                  )
                  as double?;
          break;
        case 'googleUserRatingCount':
          result.googleUserRatingCount =
              serializers.deserialize(value, specifiedType: const FullType(int))
                  as int?;
          break;
        case 'googleRegularOpeningHours':
          result.googleRegularOpeningHours =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(_i2.JsonObject),
                  )
                  as _i2.JsonObject?;
          break;
        case 'googleCurrentOpeningHours':
          result.googleCurrentOpeningHours =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(_i2.JsonObject),
                  )
                  as _i2.JsonObject?;
          break;
        case 'photoUrls':
          result.photoUrls.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(BuiltList, const [
                    const FullType(String),
                  ]),
                )!
                as BuiltList<Object?>,
          );
          break;
        case 'traits':
          result.traits.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(BuiltList, const [
                    const FullType(String),
                  ]),
                )!
                as BuiltList<Object?>,
          );
          break;
        case 'isFavorite':
          result.isFavorite =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(bool),
                  )!
                  as bool;
          break;
        case 'experiences':
          result.experiences.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(BuiltList, const [
                    const FullType(
                      GAddFavoritePlaceData_addFavoritePlace_experiences,
                    ),
                  ]),
                )!
                as BuiltList<Object?>,
          );
          break;
      }
    }

    return result.build();
  }
}

class _$GAddFavoritePlaceData_addFavoritePlace_experiencesSerializer
    implements
        StructuredSerializer<
          GAddFavoritePlaceData_addFavoritePlace_experiences
        > {
  @override
  final Iterable<Type> types = const [
    GAddFavoritePlaceData_addFavoritePlace_experiences,
    _$GAddFavoritePlaceData_addFavoritePlace_experiences,
  ];
  @override
  final String wireName = 'GAddFavoritePlaceData_addFavoritePlace_experiences';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GAddFavoritePlaceData_addFavoritePlace_experiences object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'id',
      serializers.serialize(object.id, specifiedType: const FullType(String)),
      'status',
      serializers.serialize(
        object.status,
        specifiedType: const FullType(_i3.GVoiceExperienceStatus),
      ),
      'createdAt',
      serializers.serialize(
        object.createdAt,
        specifiedType: const FullType(String),
      ),
    ];

    return result;
  }

  @override
  GAddFavoritePlaceData_addFavoritePlace_experiences deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = GAddFavoritePlaceData_addFavoritePlace_experiencesBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'id':
          result.id =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'status':
          result.status =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(_i3.GVoiceExperienceStatus),
                  )!
                  as _i3.GVoiceExperienceStatus;
          break;
        case 'createdAt':
          result.createdAt =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
      }
    }

    return result.build();
  }
}

class _$GAddFavoritePlaceData extends GAddFavoritePlaceData {
  @override
  final String G__typename;
  @override
  final GAddFavoritePlaceData_addFavoritePlace addFavoritePlace;

  factory _$GAddFavoritePlaceData([
    void Function(GAddFavoritePlaceDataBuilder)? updates,
  ]) => (GAddFavoritePlaceDataBuilder()..update(updates))._build();

  _$GAddFavoritePlaceData._({
    required this.G__typename,
    required this.addFavoritePlace,
  }) : super._();
  @override
  GAddFavoritePlaceData rebuild(
    void Function(GAddFavoritePlaceDataBuilder) updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GAddFavoritePlaceDataBuilder toBuilder() =>
      GAddFavoritePlaceDataBuilder()..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GAddFavoritePlaceData &&
        G__typename == other.G__typename &&
        addFavoritePlace == other.addFavoritePlace;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, addFavoritePlace.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'GAddFavoritePlaceData')
          ..add('G__typename', G__typename)
          ..add('addFavoritePlace', addFavoritePlace))
        .toString();
  }
}

class GAddFavoritePlaceDataBuilder
    implements Builder<GAddFavoritePlaceData, GAddFavoritePlaceDataBuilder> {
  _$GAddFavoritePlaceData? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  GAddFavoritePlaceData_addFavoritePlaceBuilder? _addFavoritePlace;
  GAddFavoritePlaceData_addFavoritePlaceBuilder get addFavoritePlace =>
      _$this._addFavoritePlace ??=
          GAddFavoritePlaceData_addFavoritePlaceBuilder();
  set addFavoritePlace(
    GAddFavoritePlaceData_addFavoritePlaceBuilder? addFavoritePlace,
  ) => _$this._addFavoritePlace = addFavoritePlace;

  GAddFavoritePlaceDataBuilder() {
    GAddFavoritePlaceData._initializeBuilder(this);
  }

  GAddFavoritePlaceDataBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _addFavoritePlace = $v.addFavoritePlace.toBuilder();
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GAddFavoritePlaceData other) {
    _$v = other as _$GAddFavoritePlaceData;
  }

  @override
  void update(void Function(GAddFavoritePlaceDataBuilder)? updates) {
    if (updates != null) updates(this);
  }

  @override
  GAddFavoritePlaceData build() => _build();

  _$GAddFavoritePlaceData _build() {
    _$GAddFavoritePlaceData _$result;
    try {
      _$result =
          _$v ??
          _$GAddFavoritePlaceData._(
            G__typename: BuiltValueNullFieldError.checkNotNull(
              G__typename,
              r'GAddFavoritePlaceData',
              'G__typename',
            ),
            addFavoritePlace: addFavoritePlace.build(),
          );
    } catch (_) {
      late String _$failedField;
      try {
        _$failedField = 'addFavoritePlace';
        addFavoritePlace.build();
      } catch (e) {
        throw BuiltValueNestedFieldError(
          r'GAddFavoritePlaceData',
          _$failedField,
          e.toString(),
        );
      }
      rethrow;
    }
    replace(_$result);
    return _$result;
  }
}

class _$GAddFavoritePlaceData_addFavoritePlace
    extends GAddFavoritePlaceData_addFavoritePlace {
  @override
  final String G__typename;
  @override
  final String id;
  @override
  final String googlePlaceId;
  @override
  final String name;
  @override
  final double latitude;
  @override
  final double longitude;
  @override
  final String? googlePrimaryType;
  @override
  final BuiltList<String> googleTypes;
  @override
  final String? googleBusinessStatus;
  @override
  final double? googleRating;
  @override
  final int? googleUserRatingCount;
  @override
  final _i2.JsonObject? googleRegularOpeningHours;
  @override
  final _i2.JsonObject? googleCurrentOpeningHours;
  @override
  final BuiltList<String> photoUrls;
  @override
  final BuiltList<String> traits;
  @override
  final bool isFavorite;
  @override
  final BuiltList<GAddFavoritePlaceData_addFavoritePlace_experiences>
  experiences;

  factory _$GAddFavoritePlaceData_addFavoritePlace([
    void Function(GAddFavoritePlaceData_addFavoritePlaceBuilder)? updates,
  ]) => (GAddFavoritePlaceData_addFavoritePlaceBuilder()..update(updates))
      ._build();

  _$GAddFavoritePlaceData_addFavoritePlace._({
    required this.G__typename,
    required this.id,
    required this.googlePlaceId,
    required this.name,
    required this.latitude,
    required this.longitude,
    this.googlePrimaryType,
    required this.googleTypes,
    this.googleBusinessStatus,
    this.googleRating,
    this.googleUserRatingCount,
    this.googleRegularOpeningHours,
    this.googleCurrentOpeningHours,
    required this.photoUrls,
    required this.traits,
    required this.isFavorite,
    required this.experiences,
  }) : super._();
  @override
  GAddFavoritePlaceData_addFavoritePlace rebuild(
    void Function(GAddFavoritePlaceData_addFavoritePlaceBuilder) updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GAddFavoritePlaceData_addFavoritePlaceBuilder toBuilder() =>
      GAddFavoritePlaceData_addFavoritePlaceBuilder()..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GAddFavoritePlaceData_addFavoritePlace &&
        G__typename == other.G__typename &&
        id == other.id &&
        googlePlaceId == other.googlePlaceId &&
        name == other.name &&
        latitude == other.latitude &&
        longitude == other.longitude &&
        googlePrimaryType == other.googlePrimaryType &&
        googleTypes == other.googleTypes &&
        googleBusinessStatus == other.googleBusinessStatus &&
        googleRating == other.googleRating &&
        googleUserRatingCount == other.googleUserRatingCount &&
        googleRegularOpeningHours == other.googleRegularOpeningHours &&
        googleCurrentOpeningHours == other.googleCurrentOpeningHours &&
        photoUrls == other.photoUrls &&
        traits == other.traits &&
        isFavorite == other.isFavorite &&
        experiences == other.experiences;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, id.hashCode);
    _$hash = $jc(_$hash, googlePlaceId.hashCode);
    _$hash = $jc(_$hash, name.hashCode);
    _$hash = $jc(_$hash, latitude.hashCode);
    _$hash = $jc(_$hash, longitude.hashCode);
    _$hash = $jc(_$hash, googlePrimaryType.hashCode);
    _$hash = $jc(_$hash, googleTypes.hashCode);
    _$hash = $jc(_$hash, googleBusinessStatus.hashCode);
    _$hash = $jc(_$hash, googleRating.hashCode);
    _$hash = $jc(_$hash, googleUserRatingCount.hashCode);
    _$hash = $jc(_$hash, googleRegularOpeningHours.hashCode);
    _$hash = $jc(_$hash, googleCurrentOpeningHours.hashCode);
    _$hash = $jc(_$hash, photoUrls.hashCode);
    _$hash = $jc(_$hash, traits.hashCode);
    _$hash = $jc(_$hash, isFavorite.hashCode);
    _$hash = $jc(_$hash, experiences.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(
            r'GAddFavoritePlaceData_addFavoritePlace',
          )
          ..add('G__typename', G__typename)
          ..add('id', id)
          ..add('googlePlaceId', googlePlaceId)
          ..add('name', name)
          ..add('latitude', latitude)
          ..add('longitude', longitude)
          ..add('googlePrimaryType', googlePrimaryType)
          ..add('googleTypes', googleTypes)
          ..add('googleBusinessStatus', googleBusinessStatus)
          ..add('googleRating', googleRating)
          ..add('googleUserRatingCount', googleUserRatingCount)
          ..add('googleRegularOpeningHours', googleRegularOpeningHours)
          ..add('googleCurrentOpeningHours', googleCurrentOpeningHours)
          ..add('photoUrls', photoUrls)
          ..add('traits', traits)
          ..add('isFavorite', isFavorite)
          ..add('experiences', experiences))
        .toString();
  }
}

class GAddFavoritePlaceData_addFavoritePlaceBuilder
    implements
        Builder<
          GAddFavoritePlaceData_addFavoritePlace,
          GAddFavoritePlaceData_addFavoritePlaceBuilder
        > {
  _$GAddFavoritePlaceData_addFavoritePlace? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  String? _id;
  String? get id => _$this._id;
  set id(String? id) => _$this._id = id;

  String? _googlePlaceId;
  String? get googlePlaceId => _$this._googlePlaceId;
  set googlePlaceId(String? googlePlaceId) =>
      _$this._googlePlaceId = googlePlaceId;

  String? _name;
  String? get name => _$this._name;
  set name(String? name) => _$this._name = name;

  double? _latitude;
  double? get latitude => _$this._latitude;
  set latitude(double? latitude) => _$this._latitude = latitude;

  double? _longitude;
  double? get longitude => _$this._longitude;
  set longitude(double? longitude) => _$this._longitude = longitude;

  String? _googlePrimaryType;
  String? get googlePrimaryType => _$this._googlePrimaryType;
  set googlePrimaryType(String? googlePrimaryType) =>
      _$this._googlePrimaryType = googlePrimaryType;

  ListBuilder<String>? _googleTypes;
  ListBuilder<String> get googleTypes =>
      _$this._googleTypes ??= ListBuilder<String>();
  set googleTypes(ListBuilder<String>? googleTypes) =>
      _$this._googleTypes = googleTypes;

  String? _googleBusinessStatus;
  String? get googleBusinessStatus => _$this._googleBusinessStatus;
  set googleBusinessStatus(String? googleBusinessStatus) =>
      _$this._googleBusinessStatus = googleBusinessStatus;

  double? _googleRating;
  double? get googleRating => _$this._googleRating;
  set googleRating(double? googleRating) => _$this._googleRating = googleRating;

  int? _googleUserRatingCount;
  int? get googleUserRatingCount => _$this._googleUserRatingCount;
  set googleUserRatingCount(int? googleUserRatingCount) =>
      _$this._googleUserRatingCount = googleUserRatingCount;

  _i2.JsonObject? _googleRegularOpeningHours;
  _i2.JsonObject? get googleRegularOpeningHours =>
      _$this._googleRegularOpeningHours;
  set googleRegularOpeningHours(_i2.JsonObject? googleRegularOpeningHours) =>
      _$this._googleRegularOpeningHours = googleRegularOpeningHours;

  _i2.JsonObject? _googleCurrentOpeningHours;
  _i2.JsonObject? get googleCurrentOpeningHours =>
      _$this._googleCurrentOpeningHours;
  set googleCurrentOpeningHours(_i2.JsonObject? googleCurrentOpeningHours) =>
      _$this._googleCurrentOpeningHours = googleCurrentOpeningHours;

  ListBuilder<String>? _photoUrls;
  ListBuilder<String> get photoUrls =>
      _$this._photoUrls ??= ListBuilder<String>();
  set photoUrls(ListBuilder<String>? photoUrls) =>
      _$this._photoUrls = photoUrls;

  ListBuilder<String>? _traits;
  ListBuilder<String> get traits => _$this._traits ??= ListBuilder<String>();
  set traits(ListBuilder<String>? traits) => _$this._traits = traits;

  bool? _isFavorite;
  bool? get isFavorite => _$this._isFavorite;
  set isFavorite(bool? isFavorite) => _$this._isFavorite = isFavorite;

  ListBuilder<GAddFavoritePlaceData_addFavoritePlace_experiences>? _experiences;
  ListBuilder<GAddFavoritePlaceData_addFavoritePlace_experiences>
  get experiences => _$this._experiences ??=
      ListBuilder<GAddFavoritePlaceData_addFavoritePlace_experiences>();
  set experiences(
    ListBuilder<GAddFavoritePlaceData_addFavoritePlace_experiences>?
    experiences,
  ) => _$this._experiences = experiences;

  GAddFavoritePlaceData_addFavoritePlaceBuilder() {
    GAddFavoritePlaceData_addFavoritePlace._initializeBuilder(this);
  }

  GAddFavoritePlaceData_addFavoritePlaceBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _id = $v.id;
      _googlePlaceId = $v.googlePlaceId;
      _name = $v.name;
      _latitude = $v.latitude;
      _longitude = $v.longitude;
      _googlePrimaryType = $v.googlePrimaryType;
      _googleTypes = $v.googleTypes.toBuilder();
      _googleBusinessStatus = $v.googleBusinessStatus;
      _googleRating = $v.googleRating;
      _googleUserRatingCount = $v.googleUserRatingCount;
      _googleRegularOpeningHours = $v.googleRegularOpeningHours;
      _googleCurrentOpeningHours = $v.googleCurrentOpeningHours;
      _photoUrls = $v.photoUrls.toBuilder();
      _traits = $v.traits.toBuilder();
      _isFavorite = $v.isFavorite;
      _experiences = $v.experiences.toBuilder();
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GAddFavoritePlaceData_addFavoritePlace other) {
    _$v = other as _$GAddFavoritePlaceData_addFavoritePlace;
  }

  @override
  void update(
    void Function(GAddFavoritePlaceData_addFavoritePlaceBuilder)? updates,
  ) {
    if (updates != null) updates(this);
  }

  @override
  GAddFavoritePlaceData_addFavoritePlace build() => _build();

  _$GAddFavoritePlaceData_addFavoritePlace _build() {
    _$GAddFavoritePlaceData_addFavoritePlace _$result;
    try {
      _$result =
          _$v ??
          _$GAddFavoritePlaceData_addFavoritePlace._(
            G__typename: BuiltValueNullFieldError.checkNotNull(
              G__typename,
              r'GAddFavoritePlaceData_addFavoritePlace',
              'G__typename',
            ),
            id: BuiltValueNullFieldError.checkNotNull(
              id,
              r'GAddFavoritePlaceData_addFavoritePlace',
              'id',
            ),
            googlePlaceId: BuiltValueNullFieldError.checkNotNull(
              googlePlaceId,
              r'GAddFavoritePlaceData_addFavoritePlace',
              'googlePlaceId',
            ),
            name: BuiltValueNullFieldError.checkNotNull(
              name,
              r'GAddFavoritePlaceData_addFavoritePlace',
              'name',
            ),
            latitude: BuiltValueNullFieldError.checkNotNull(
              latitude,
              r'GAddFavoritePlaceData_addFavoritePlace',
              'latitude',
            ),
            longitude: BuiltValueNullFieldError.checkNotNull(
              longitude,
              r'GAddFavoritePlaceData_addFavoritePlace',
              'longitude',
            ),
            googlePrimaryType: googlePrimaryType,
            googleTypes: googleTypes.build(),
            googleBusinessStatus: googleBusinessStatus,
            googleRating: googleRating,
            googleUserRatingCount: googleUserRatingCount,
            googleRegularOpeningHours: googleRegularOpeningHours,
            googleCurrentOpeningHours: googleCurrentOpeningHours,
            photoUrls: photoUrls.build(),
            traits: traits.build(),
            isFavorite: BuiltValueNullFieldError.checkNotNull(
              isFavorite,
              r'GAddFavoritePlaceData_addFavoritePlace',
              'isFavorite',
            ),
            experiences: experiences.build(),
          );
    } catch (_) {
      late String _$failedField;
      try {
        _$failedField = 'googleTypes';
        googleTypes.build();

        _$failedField = 'photoUrls';
        photoUrls.build();
        _$failedField = 'traits';
        traits.build();

        _$failedField = 'experiences';
        experiences.build();
      } catch (e) {
        throw BuiltValueNestedFieldError(
          r'GAddFavoritePlaceData_addFavoritePlace',
          _$failedField,
          e.toString(),
        );
      }
      rethrow;
    }
    replace(_$result);
    return _$result;
  }
}

class _$GAddFavoritePlaceData_addFavoritePlace_experiences
    extends GAddFavoritePlaceData_addFavoritePlace_experiences {
  @override
  final String G__typename;
  @override
  final String id;
  @override
  final _i3.GVoiceExperienceStatus status;
  @override
  final String createdAt;

  factory _$GAddFavoritePlaceData_addFavoritePlace_experiences([
    void Function(GAddFavoritePlaceData_addFavoritePlace_experiencesBuilder)?
    updates,
  ]) =>
      (GAddFavoritePlaceData_addFavoritePlace_experiencesBuilder()
            ..update(updates))
          ._build();

  _$GAddFavoritePlaceData_addFavoritePlace_experiences._({
    required this.G__typename,
    required this.id,
    required this.status,
    required this.createdAt,
  }) : super._();
  @override
  GAddFavoritePlaceData_addFavoritePlace_experiences rebuild(
    void Function(GAddFavoritePlaceData_addFavoritePlace_experiencesBuilder)
    updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GAddFavoritePlaceData_addFavoritePlace_experiencesBuilder toBuilder() =>
      GAddFavoritePlaceData_addFavoritePlace_experiencesBuilder()
        ..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GAddFavoritePlaceData_addFavoritePlace_experiences &&
        G__typename == other.G__typename &&
        id == other.id &&
        status == other.status &&
        createdAt == other.createdAt;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, id.hashCode);
    _$hash = $jc(_$hash, status.hashCode);
    _$hash = $jc(_$hash, createdAt.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(
            r'GAddFavoritePlaceData_addFavoritePlace_experiences',
          )
          ..add('G__typename', G__typename)
          ..add('id', id)
          ..add('status', status)
          ..add('createdAt', createdAt))
        .toString();
  }
}

class GAddFavoritePlaceData_addFavoritePlace_experiencesBuilder
    implements
        Builder<
          GAddFavoritePlaceData_addFavoritePlace_experiences,
          GAddFavoritePlaceData_addFavoritePlace_experiencesBuilder
        > {
  _$GAddFavoritePlaceData_addFavoritePlace_experiences? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  String? _id;
  String? get id => _$this._id;
  set id(String? id) => _$this._id = id;

  _i3.GVoiceExperienceStatus? _status;
  _i3.GVoiceExperienceStatus? get status => _$this._status;
  set status(_i3.GVoiceExperienceStatus? status) => _$this._status = status;

  String? _createdAt;
  String? get createdAt => _$this._createdAt;
  set createdAt(String? createdAt) => _$this._createdAt = createdAt;

  GAddFavoritePlaceData_addFavoritePlace_experiencesBuilder() {
    GAddFavoritePlaceData_addFavoritePlace_experiences._initializeBuilder(this);
  }

  GAddFavoritePlaceData_addFavoritePlace_experiencesBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _id = $v.id;
      _status = $v.status;
      _createdAt = $v.createdAt;
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GAddFavoritePlaceData_addFavoritePlace_experiences other) {
    _$v = other as _$GAddFavoritePlaceData_addFavoritePlace_experiences;
  }

  @override
  void update(
    void Function(GAddFavoritePlaceData_addFavoritePlace_experiencesBuilder)?
    updates,
  ) {
    if (updates != null) updates(this);
  }

  @override
  GAddFavoritePlaceData_addFavoritePlace_experiences build() => _build();

  _$GAddFavoritePlaceData_addFavoritePlace_experiences _build() {
    final _$result =
        _$v ??
        _$GAddFavoritePlaceData_addFavoritePlace_experiences._(
          G__typename: BuiltValueNullFieldError.checkNotNull(
            G__typename,
            r'GAddFavoritePlaceData_addFavoritePlace_experiences',
            'G__typename',
          ),
          id: BuiltValueNullFieldError.checkNotNull(
            id,
            r'GAddFavoritePlaceData_addFavoritePlace_experiences',
            'id',
          ),
          status: BuiltValueNullFieldError.checkNotNull(
            status,
            r'GAddFavoritePlaceData_addFavoritePlace_experiences',
            'status',
          ),
          createdAt: BuiltValueNullFieldError.checkNotNull(
            createdAt,
            r'GAddFavoritePlaceData_addFavoritePlace_experiences',
            'createdAt',
          ),
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
