96 lines
2.8 KiB
Dart
96 lines
2.8 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
// ignore_for_file: type=lint
|
|
|
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
|
import 'package:built_value/built_value.dart';
|
|
import 'package:built_value/serializer.dart';
|
|
import 'package:ferry_exec/ferry_exec.dart' as _i1;
|
|
import 'package:gql_exec/gql_exec.dart' as _i4;
|
|
import 'package:mapflow/features/mapflow/data/graphql/__generated__/places.ast.gql.dart'
|
|
as _i5;
|
|
import 'package:mapflow/features/mapflow/data/graphql/__generated__/places.data.gql.dart'
|
|
as _i2;
|
|
import 'package:mapflow/features/mapflow/data/graphql/__generated__/places.var.gql.dart'
|
|
as _i3;
|
|
import 'package:mapflow/features/mapflow/data/graphql/__generated__/serializers.gql.dart'
|
|
as _i6;
|
|
|
|
part 'places.req.gql.g.dart';
|
|
|
|
abstract class GPlacesReq
|
|
implements
|
|
Built<GPlacesReq, GPlacesReqBuilder>,
|
|
_i1.OperationRequest<_i2.GPlacesData, _i3.GPlacesVars> {
|
|
GPlacesReq._();
|
|
|
|
factory GPlacesReq([void Function(GPlacesReqBuilder b) updates]) =
|
|
_$GPlacesReq;
|
|
|
|
static void _initializeBuilder(GPlacesReqBuilder b) => b
|
|
..operation = _i4.Operation(
|
|
document: _i5.document,
|
|
operationName: 'Places',
|
|
)
|
|
..executeOnListen = true;
|
|
|
|
@override
|
|
_i3.GPlacesVars get vars;
|
|
@override
|
|
_i4.Operation get operation;
|
|
@override
|
|
_i4.Request get execRequest => _i4.Request(
|
|
operation: operation,
|
|
variables: vars.toJson(),
|
|
context: context ?? const _i4.Context(),
|
|
);
|
|
|
|
@override
|
|
String? get requestId;
|
|
@override
|
|
@BuiltValueField(serialize: false)
|
|
_i2.GPlacesData? Function(
|
|
_i2.GPlacesData?,
|
|
_i2.GPlacesData?,
|
|
)? get updateResult;
|
|
@override
|
|
_i2.GPlacesData? get optimisticResponse;
|
|
@override
|
|
String? get updateCacheHandlerKey;
|
|
@override
|
|
Map<String, dynamic>? get updateCacheHandlerContext;
|
|
@override
|
|
_i1.FetchPolicy? get fetchPolicy;
|
|
@override
|
|
bool get executeOnListen;
|
|
@override
|
|
@BuiltValueField(serialize: false)
|
|
_i4.Context? get context;
|
|
@override
|
|
_i2.GPlacesData? parseData(Map<String, dynamic> json) =>
|
|
_i2.GPlacesData.fromJson(json);
|
|
|
|
@override
|
|
Map<String, dynamic> varsToJson() => vars.toJson();
|
|
|
|
@override
|
|
Map<String, dynamic> dataToJson(_i2.GPlacesData data) => data.toJson();
|
|
|
|
@override
|
|
_i1.OperationRequest<_i2.GPlacesData, _i3.GPlacesVars> transformOperation(
|
|
_i4.Operation Function(_i4.Operation) transform) =>
|
|
this.rebuild((b) => b..operation = transform(operation));
|
|
|
|
static Serializer<GPlacesReq> get serializer => _$gPlacesReqSerializer;
|
|
|
|
Map<String, dynamic> toJson() => (_i6.serializers.serializeWith(
|
|
GPlacesReq.serializer,
|
|
this,
|
|
) as Map<String, dynamic>);
|
|
|
|
static GPlacesReq? fromJson(Map<String, dynamic> json) =>
|
|
_i6.serializers.deserializeWith(
|
|
GPlacesReq.serializer,
|
|
json,
|
|
);
|
|
}
|