Files
flutter/lib/features/mapflow/data/graphql/__generated__/place.var.gql.g.dart
T
Ruslan Bakiev c7c1ca62ef
Build and deploy Flutter Web / build (push) Successful in 4m9s
Load place details lazily
2026-06-22 14:03:29 +07:00

140 lines
3.2 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'place.var.gql.dart';
// **************************************************************************
// BuiltValueGenerator
// **************************************************************************
Serializer<GPlaceVars> _$gPlaceVarsSerializer = _$GPlaceVarsSerializer();
class _$GPlaceVarsSerializer implements StructuredSerializer<GPlaceVars> {
@override
final Iterable<Type> types = const [GPlaceVars, _$GPlaceVars];
@override
final String wireName = 'GPlaceVars';
@override
Iterable<Object?> serialize(
Serializers serializers,
GPlaceVars object, {
FullType specifiedType = FullType.unspecified,
}) {
final result = <Object?>[
'id',
serializers.serialize(object.id, specifiedType: const FullType(String)),
];
return result;
}
@override
GPlaceVars deserialize(
Serializers serializers,
Iterable<Object?> serialized, {
FullType specifiedType = FullType.unspecified,
}) {
final result = GPlaceVarsBuilder();
final iterator = serialized.iterator;
while (iterator.moveNext()) {
final key = iterator.current! as String;
iterator.moveNext();
final Object? value = iterator.current;
switch (key) {
case 'id':
result.id =
serializers.deserialize(
value,
specifiedType: const FullType(String),
)!
as String;
break;
}
}
return result.build();
}
}
class _$GPlaceVars extends GPlaceVars {
@override
final String id;
factory _$GPlaceVars([void Function(GPlaceVarsBuilder)? updates]) =>
(GPlaceVarsBuilder()..update(updates))._build();
_$GPlaceVars._({required this.id}) : super._();
@override
GPlaceVars rebuild(void Function(GPlaceVarsBuilder) updates) =>
(toBuilder()..update(updates)).build();
@override
GPlaceVarsBuilder toBuilder() => GPlaceVarsBuilder()..replace(this);
@override
bool operator ==(Object other) {
if (identical(other, this)) return true;
return other is GPlaceVars && id == other.id;
}
@override
int get hashCode {
var _$hash = 0;
_$hash = $jc(_$hash, id.hashCode);
_$hash = $jf(_$hash);
return _$hash;
}
@override
String toString() {
return (newBuiltValueToStringHelper(
r'GPlaceVars',
)..add('id', id)).toString();
}
}
class GPlaceVarsBuilder implements Builder<GPlaceVars, GPlaceVarsBuilder> {
_$GPlaceVars? _$v;
String? _id;
String? get id => _$this._id;
set id(String? id) => _$this._id = id;
GPlaceVarsBuilder();
GPlaceVarsBuilder get _$this {
final $v = _$v;
if ($v != null) {
_id = $v.id;
_$v = null;
}
return this;
}
@override
void replace(GPlaceVars other) {
_$v = other as _$GPlaceVars;
}
@override
void update(void Function(GPlaceVarsBuilder)? updates) {
if (updates != null) updates(this);
}
@override
GPlaceVars build() => _build();
_$GPlaceVars _build() {
final _$result =
_$v ??
_$GPlaceVars._(
id: BuiltValueNullFieldError.checkNotNull(id, r'GPlaceVars', 'id'),
);
replace(_$result);
return _$result;
}
}
// ignore_for_file: deprecated_member_use_from_same_package,type=lint