// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'remove_favorite_place.var.gql.dart';

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

Serializer<GRemoveFavoritePlaceVars> _$gRemoveFavoritePlaceVarsSerializer =
    _$GRemoveFavoritePlaceVarsSerializer();

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

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

    return result;
  }

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

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

    return result.build();
  }
}

class _$GRemoveFavoritePlaceVars extends GRemoveFavoritePlaceVars {
  @override
  final String placeId;

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

  _$GRemoveFavoritePlaceVars._({required this.placeId}) : super._();
  @override
  GRemoveFavoritePlaceVars rebuild(
    void Function(GRemoveFavoritePlaceVarsBuilder) updates,
  ) => (toBuilder()..update(updates)).build();

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

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

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

  @override
  String toString() {
    return (newBuiltValueToStringHelper(
      r'GRemoveFavoritePlaceVars',
    )..add('placeId', placeId)).toString();
  }
}

class GRemoveFavoritePlaceVarsBuilder
    implements
        Builder<GRemoveFavoritePlaceVars, GRemoveFavoritePlaceVarsBuilder> {
  _$GRemoveFavoritePlaceVars? _$v;

  String? _placeId;
  String? get placeId => _$this._placeId;
  set placeId(String? placeId) => _$this._placeId = placeId;

  GRemoveFavoritePlaceVarsBuilder();

  GRemoveFavoritePlaceVarsBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _placeId = $v.placeId;
      _$v = null;
    }
    return this;
  }

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

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

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

  _$GRemoveFavoritePlaceVars _build() {
    final _$result =
        _$v ??
        _$GRemoveFavoritePlaceVars._(
          placeId: BuiltValueNullFieldError.checkNotNull(
            placeId,
            r'GRemoveFavoritePlaceVars',
            'placeId',
          ),
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
