// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'account_model.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

CustomerInfoResponse _$CustomerInfoResponseFromJson(
  Map<String, dynamic> json,
) => CustomerInfoResponse(
  name: json['name'] as String,
  email: json['email'] as String?,
  phoneNumber: json['phone_number'] as String,
);

Map<String, dynamic> _$CustomerInfoResponseToJson(
  CustomerInfoResponse instance,
) => <String, dynamic>{
  'name': instance.name,
  'email': instance.email,
  'phone_number': instance.phoneNumber,
};

CustomerInfoRequest _$CustomerInfoRequestFromJson(Map<String, dynamic> json) =>
    CustomerInfoRequest(name: json['name'] as String);

Map<String, dynamic> _$CustomerInfoRequestToJson(
  CustomerInfoRequest instance,
) => <String, dynamic>{'name': instance.name};

CustomerAddressModel _$CustomerAddressModelFromJson(
  Map<String, dynamic> json,
) => CustomerAddressModel(
  uuid: json['uuid'] as String,
  label: json['label'] as String,
  fullAddress: json['full_address'] as String,
  latitude: toDouble(json['latitude']),
  longitude: toDouble(json['longitude']),
);

Map<String, dynamic> _$CustomerAddressModelToJson(
  CustomerAddressModel instance,
) => <String, dynamic>{
  'uuid': instance.uuid,
  'label': instance.label,
  'full_address': instance.fullAddress,
  'latitude': instance.latitude,
  'longitude': instance.longitude,
};
