Load place details lazily
Build and deploy Flutter Web / build (push) Successful in 4m9s

This commit is contained in:
Ruslan Bakiev
2026-06-22 14:03:29 +07:00
parent 3b77899d3e
commit c7c1ca62ef
65 changed files with 4019 additions and 2383 deletions
@@ -0,0 +1,122 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:gql/ast.dart' as _i1;
const Place = _i1.OperationDefinitionNode(
type: _i1.OperationType.query,
name: _i1.NameNode(value: 'Place'),
variableDefinitions: [
_i1.VariableDefinitionNode(
variable: _i1.VariableNode(name: _i1.NameNode(value: 'id')),
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'ID'),
isNonNull: true,
),
defaultValue: _i1.DefaultValueNode(value: null),
directives: [],
)
],
directives: [],
selectionSet: _i1.SelectionSetNode(selections: [
_i1.FieldNode(
name: _i1.NameNode(value: 'place'),
alias: null,
arguments: [
_i1.ArgumentNode(
name: _i1.NameNode(value: 'id'),
value: _i1.VariableNode(name: _i1.NameNode(value: 'id')),
)
],
directives: [],
selectionSet: _i1.SelectionSetNode(selections: [
_i1.FieldNode(
name: _i1.NameNode(value: 'id'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
_i1.FieldNode(
name: _i1.NameNode(value: 'googlePlaceId'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
_i1.FieldNode(
name: _i1.NameNode(value: 'name'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
_i1.FieldNode(
name: _i1.NameNode(value: 'latitude'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
_i1.FieldNode(
name: _i1.NameNode(value: 'longitude'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
_i1.FieldNode(
name: _i1.NameNode(value: 'googlePrimaryType'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
_i1.FieldNode(
name: _i1.NameNode(value: 'googleTypes'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
_i1.FieldNode(
name: _i1.NameNode(value: 'googleRegularOpeningHours'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
_i1.FieldNode(
name: _i1.NameNode(value: 'googleCurrentOpeningHours'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
_i1.FieldNode(
name: _i1.NameNode(value: 'photoUrls'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
_i1.FieldNode(
name: _i1.NameNode(value: 'traits'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
_i1.FieldNode(
name: _i1.NameNode(value: 'isFavorite'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
]),
)
]),
);
const document = _i1.DocumentNode(definitions: [Place]);