Files
flutter/lib/features/mapflow/data/graphql/__generated__/places.data.gql.g.dart
T
Ruslan Bakiev aaaf60ab05
Build and deploy Flutter Web / build (push) Successful in 2m59s
Add Ferry GraphQL client architecture
2026-06-12 15:00:02 +07:00

866 lines
24 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'places.data.gql.dart';
// **************************************************************************
// BuiltValueGenerator
// **************************************************************************
Serializer<GPlacesData> _$gPlacesDataSerializer = _$GPlacesDataSerializer();
Serializer<GPlacesData_places> _$gPlacesDataPlacesSerializer =
_$GPlacesData_placesSerializer();
Serializer<GPlacesData_places_experiences>
_$gPlacesDataPlacesExperiencesSerializer =
_$GPlacesData_places_experiencesSerializer();
class _$GPlacesDataSerializer implements StructuredSerializer<GPlacesData> {
@override
final Iterable<Type> types = const [GPlacesData, _$GPlacesData];
@override
final String wireName = 'GPlacesData';
@override
Iterable<Object?> serialize(
Serializers serializers,
GPlacesData object, {
FullType specifiedType = FullType.unspecified,
}) {
final result = <Object?>[
'__typename',
serializers.serialize(
object.G__typename,
specifiedType: const FullType(String),
),
'places',
serializers.serialize(
object.places,
specifiedType: const FullType(BuiltList, const [
const FullType(GPlacesData_places),
]),
),
];
return result;
}
@override
GPlacesData deserialize(
Serializers serializers,
Iterable<Object?> serialized, {
FullType specifiedType = FullType.unspecified,
}) {
final result = GPlacesDataBuilder();
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 'places':
result.places.replace(
serializers.deserialize(
value,
specifiedType: const FullType(BuiltList, const [
const FullType(GPlacesData_places),
]),
)!
as BuiltList<Object?>,
);
break;
}
}
return result.build();
}
}
class _$GPlacesData_placesSerializer
implements StructuredSerializer<GPlacesData_places> {
@override
final Iterable<Type> types = const [GPlacesData_places, _$GPlacesData_places];
@override
final String wireName = 'GPlacesData_places';
@override
Iterable<Object?> serialize(
Serializers serializers,
GPlacesData_places 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),
]),
),
'experiences',
serializers.serialize(
object.experiences,
specifiedType: const FullType(BuiltList, const [
const FullType(GPlacesData_places_experiences),
]),
),
];
Object? value;
value = object.googlePrimaryType;
if (value != null) {
result
..add('googlePrimaryType')
..add(
serializers.serialize(value, specifiedType: const FullType(String)),
);
}
return result;
}
@override
GPlacesData_places deserialize(
Serializers serializers,
Iterable<Object?> serialized, {
FullType specifiedType = FullType.unspecified,
}) {
final result = GPlacesData_placesBuilder();
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 'experiences':
result.experiences.replace(
serializers.deserialize(
value,
specifiedType: const FullType(BuiltList, const [
const FullType(GPlacesData_places_experiences),
]),
)!
as BuiltList<Object?>,
);
break;
}
}
return result.build();
}
}
class _$GPlacesData_places_experiencesSerializer
implements StructuredSerializer<GPlacesData_places_experiences> {
@override
final Iterable<Type> types = const [
GPlacesData_places_experiences,
_$GPlacesData_places_experiences,
];
@override
final String wireName = 'GPlacesData_places_experiences';
@override
Iterable<Object?> serialize(
Serializers serializers,
GPlacesData_places_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(_i2.GVoiceExperienceStatus),
),
'createdAt',
serializers.serialize(
object.createdAt,
specifiedType: const FullType(String),
),
];
Object? value;
value = object.analysis;
if (value != null) {
result
..add('analysis')
..add(
serializers.serialize(
value,
specifiedType: const FullType(_i3.JsonObject),
),
);
}
return result;
}
@override
GPlacesData_places_experiences deserialize(
Serializers serializers,
Iterable<Object?> serialized, {
FullType specifiedType = FullType.unspecified,
}) {
final result = GPlacesData_places_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(_i2.GVoiceExperienceStatus),
)!
as _i2.GVoiceExperienceStatus;
break;
case 'analysis':
result.analysis =
serializers.deserialize(
value,
specifiedType: const FullType(_i3.JsonObject),
)
as _i3.JsonObject?;
break;
case 'createdAt':
result.createdAt =
serializers.deserialize(
value,
specifiedType: const FullType(String),
)!
as String;
break;
}
}
return result.build();
}
}
class _$GPlacesData extends GPlacesData {
@override
final String G__typename;
@override
final BuiltList<GPlacesData_places> places;
factory _$GPlacesData([void Function(GPlacesDataBuilder)? updates]) =>
(GPlacesDataBuilder()..update(updates))._build();
_$GPlacesData._({required this.G__typename, required this.places})
: super._();
@override
GPlacesData rebuild(void Function(GPlacesDataBuilder) updates) =>
(toBuilder()..update(updates)).build();
@override
GPlacesDataBuilder toBuilder() => GPlacesDataBuilder()..replace(this);
@override
bool operator ==(Object other) {
if (identical(other, this)) return true;
return other is GPlacesData &&
G__typename == other.G__typename &&
places == other.places;
}
@override
int get hashCode {
var _$hash = 0;
_$hash = $jc(_$hash, G__typename.hashCode);
_$hash = $jc(_$hash, places.hashCode);
_$hash = $jf(_$hash);
return _$hash;
}
@override
String toString() {
return (newBuiltValueToStringHelper(r'GPlacesData')
..add('G__typename', G__typename)
..add('places', places))
.toString();
}
}
class GPlacesDataBuilder implements Builder<GPlacesData, GPlacesDataBuilder> {
_$GPlacesData? _$v;
String? _G__typename;
String? get G__typename => _$this._G__typename;
set G__typename(String? G__typename) => _$this._G__typename = G__typename;
ListBuilder<GPlacesData_places>? _places;
ListBuilder<GPlacesData_places> get places =>
_$this._places ??= ListBuilder<GPlacesData_places>();
set places(ListBuilder<GPlacesData_places>? places) =>
_$this._places = places;
GPlacesDataBuilder() {
GPlacesData._initializeBuilder(this);
}
GPlacesDataBuilder get _$this {
final $v = _$v;
if ($v != null) {
_G__typename = $v.G__typename;
_places = $v.places.toBuilder();
_$v = null;
}
return this;
}
@override
void replace(GPlacesData other) {
_$v = other as _$GPlacesData;
}
@override
void update(void Function(GPlacesDataBuilder)? updates) {
if (updates != null) updates(this);
}
@override
GPlacesData build() => _build();
_$GPlacesData _build() {
_$GPlacesData _$result;
try {
_$result =
_$v ??
_$GPlacesData._(
G__typename: BuiltValueNullFieldError.checkNotNull(
G__typename,
r'GPlacesData',
'G__typename',
),
places: places.build(),
);
} catch (_) {
late String _$failedField;
try {
_$failedField = 'places';
places.build();
} catch (e) {
throw BuiltValueNestedFieldError(
r'GPlacesData',
_$failedField,
e.toString(),
);
}
rethrow;
}
replace(_$result);
return _$result;
}
}
class _$GPlacesData_places extends GPlacesData_places {
@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 BuiltList<GPlacesData_places_experiences> experiences;
factory _$GPlacesData_places([
void Function(GPlacesData_placesBuilder)? updates,
]) => (GPlacesData_placesBuilder()..update(updates))._build();
_$GPlacesData_places._({
required this.G__typename,
required this.id,
required this.googlePlaceId,
required this.name,
required this.latitude,
required this.longitude,
this.googlePrimaryType,
required this.googleTypes,
required this.experiences,
}) : super._();
@override
GPlacesData_places rebuild(
void Function(GPlacesData_placesBuilder) updates,
) => (toBuilder()..update(updates)).build();
@override
GPlacesData_placesBuilder toBuilder() =>
GPlacesData_placesBuilder()..replace(this);
@override
bool operator ==(Object other) {
if (identical(other, this)) return true;
return other is GPlacesData_places &&
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 &&
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, experiences.hashCode);
_$hash = $jf(_$hash);
return _$hash;
}
@override
String toString() {
return (newBuiltValueToStringHelper(r'GPlacesData_places')
..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('experiences', experiences))
.toString();
}
}
class GPlacesData_placesBuilder
implements Builder<GPlacesData_places, GPlacesData_placesBuilder> {
_$GPlacesData_places? _$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;
ListBuilder<GPlacesData_places_experiences>? _experiences;
ListBuilder<GPlacesData_places_experiences> get experiences =>
_$this._experiences ??= ListBuilder<GPlacesData_places_experiences>();
set experiences(ListBuilder<GPlacesData_places_experiences>? experiences) =>
_$this._experiences = experiences;
GPlacesData_placesBuilder() {
GPlacesData_places._initializeBuilder(this);
}
GPlacesData_placesBuilder 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();
_experiences = $v.experiences.toBuilder();
_$v = null;
}
return this;
}
@override
void replace(GPlacesData_places other) {
_$v = other as _$GPlacesData_places;
}
@override
void update(void Function(GPlacesData_placesBuilder)? updates) {
if (updates != null) updates(this);
}
@override
GPlacesData_places build() => _build();
_$GPlacesData_places _build() {
_$GPlacesData_places _$result;
try {
_$result =
_$v ??
_$GPlacesData_places._(
G__typename: BuiltValueNullFieldError.checkNotNull(
G__typename,
r'GPlacesData_places',
'G__typename',
),
id: BuiltValueNullFieldError.checkNotNull(
id,
r'GPlacesData_places',
'id',
),
googlePlaceId: BuiltValueNullFieldError.checkNotNull(
googlePlaceId,
r'GPlacesData_places',
'googlePlaceId',
),
name: BuiltValueNullFieldError.checkNotNull(
name,
r'GPlacesData_places',
'name',
),
latitude: BuiltValueNullFieldError.checkNotNull(
latitude,
r'GPlacesData_places',
'latitude',
),
longitude: BuiltValueNullFieldError.checkNotNull(
longitude,
r'GPlacesData_places',
'longitude',
),
googlePrimaryType: googlePrimaryType,
googleTypes: googleTypes.build(),
experiences: experiences.build(),
);
} catch (_) {
late String _$failedField;
try {
_$failedField = 'googleTypes';
googleTypes.build();
_$failedField = 'experiences';
experiences.build();
} catch (e) {
throw BuiltValueNestedFieldError(
r'GPlacesData_places',
_$failedField,
e.toString(),
);
}
rethrow;
}
replace(_$result);
return _$result;
}
}
class _$GPlacesData_places_experiences extends GPlacesData_places_experiences {
@override
final String G__typename;
@override
final String id;
@override
final _i2.GVoiceExperienceStatus status;
@override
final _i3.JsonObject? analysis;
@override
final String createdAt;
factory _$GPlacesData_places_experiences([
void Function(GPlacesData_places_experiencesBuilder)? updates,
]) => (GPlacesData_places_experiencesBuilder()..update(updates))._build();
_$GPlacesData_places_experiences._({
required this.G__typename,
required this.id,
required this.status,
this.analysis,
required this.createdAt,
}) : super._();
@override
GPlacesData_places_experiences rebuild(
void Function(GPlacesData_places_experiencesBuilder) updates,
) => (toBuilder()..update(updates)).build();
@override
GPlacesData_places_experiencesBuilder toBuilder() =>
GPlacesData_places_experiencesBuilder()..replace(this);
@override
bool operator ==(Object other) {
if (identical(other, this)) return true;
return other is GPlacesData_places_experiences &&
G__typename == other.G__typename &&
id == other.id &&
status == other.status &&
analysis == other.analysis &&
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, analysis.hashCode);
_$hash = $jc(_$hash, createdAt.hashCode);
_$hash = $jf(_$hash);
return _$hash;
}
@override
String toString() {
return (newBuiltValueToStringHelper(r'GPlacesData_places_experiences')
..add('G__typename', G__typename)
..add('id', id)
..add('status', status)
..add('analysis', analysis)
..add('createdAt', createdAt))
.toString();
}
}
class GPlacesData_places_experiencesBuilder
implements
Builder<
GPlacesData_places_experiences,
GPlacesData_places_experiencesBuilder
> {
_$GPlacesData_places_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;
_i2.GVoiceExperienceStatus? _status;
_i2.GVoiceExperienceStatus? get status => _$this._status;
set status(_i2.GVoiceExperienceStatus? status) => _$this._status = status;
_i3.JsonObject? _analysis;
_i3.JsonObject? get analysis => _$this._analysis;
set analysis(_i3.JsonObject? analysis) => _$this._analysis = analysis;
String? _createdAt;
String? get createdAt => _$this._createdAt;
set createdAt(String? createdAt) => _$this._createdAt = createdAt;
GPlacesData_places_experiencesBuilder() {
GPlacesData_places_experiences._initializeBuilder(this);
}
GPlacesData_places_experiencesBuilder get _$this {
final $v = _$v;
if ($v != null) {
_G__typename = $v.G__typename;
_id = $v.id;
_status = $v.status;
_analysis = $v.analysis;
_createdAt = $v.createdAt;
_$v = null;
}
return this;
}
@override
void replace(GPlacesData_places_experiences other) {
_$v = other as _$GPlacesData_places_experiences;
}
@override
void update(void Function(GPlacesData_places_experiencesBuilder)? updates) {
if (updates != null) updates(this);
}
@override
GPlacesData_places_experiences build() => _build();
_$GPlacesData_places_experiences _build() {
final _$result =
_$v ??
_$GPlacesData_places_experiences._(
G__typename: BuiltValueNullFieldError.checkNotNull(
G__typename,
r'GPlacesData_places_experiences',
'G__typename',
),
id: BuiltValueNullFieldError.checkNotNull(
id,
r'GPlacesData_places_experiences',
'id',
),
status: BuiltValueNullFieldError.checkNotNull(
status,
r'GPlacesData_places_experiences',
'status',
),
analysis: analysis,
createdAt: BuiltValueNullFieldError.checkNotNull(
createdAt,
r'GPlacesData_places_experiences',
'createdAt',
),
);
replace(_$result);
return _$result;
}
}
// ignore_for_file: deprecated_member_use_from_same_package,type=lint