// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:built_collection/built_collection.dart';
import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';
import 'package:mapflow/features/mapflow/data/graphql/__generated__/serializers.gql.dart'
    as _i1;

part 'places.data.gql.g.dart';

abstract class GPlacesData implements Built<GPlacesData, GPlacesDataBuilder> {
  GPlacesData._();

  factory GPlacesData([void Function(GPlacesDataBuilder b) updates]) =
      _$GPlacesData;

  static void _initializeBuilder(GPlacesDataBuilder b) =>
      b..G__typename = 'Query';

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  BuiltList<GPlacesData_places> get places;
  static Serializer<GPlacesData> get serializer => _$gPlacesDataSerializer;

  Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
        GPlacesData.serializer,
        this,
      ) as Map<String, dynamic>);

  static GPlacesData? fromJson(Map<String, dynamic> json) =>
      _i1.serializers.deserializeWith(
        GPlacesData.serializer,
        json,
      );
}

abstract class GPlacesData_places
    implements Built<GPlacesData_places, GPlacesData_placesBuilder> {
  GPlacesData_places._();

  factory GPlacesData_places(
          [void Function(GPlacesData_placesBuilder b) updates]) =
      _$GPlacesData_places;

  static void _initializeBuilder(GPlacesData_placesBuilder b) =>
      b..G__typename = 'Place';

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  String get id;
  String get googlePlaceId;
  String get name;
  double get latitude;
  double get longitude;
  String? get googlePrimaryType;
  BuiltList<String> get googleTypes;
  BuiltList<String> get traits;
  bool get isFavorite;
  static Serializer<GPlacesData_places> get serializer =>
      _$gPlacesDataPlacesSerializer;

  Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
        GPlacesData_places.serializer,
        this,
      ) as Map<String, dynamic>);

  static GPlacesData_places? fromJson(Map<String, dynamic> json) =>
      _i1.serializers.deserializeWith(
        GPlacesData_places.serializer,
        json,
      );
}
