// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'product_store_model.dart';

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

ProductStoreModel _$ProductStoreModelFromJson(Map<String, dynamic> json) =>
    ProductStoreModel(
      id: (json['id'] as num?)?.toInt(),
      code: json['code'] as String?,
      name: json['name'] as String?,
      phone: json['phone'] as String?,
      email: json['email'] as String?,
      fax: json['fax'] as String?,
      address: json['address'] as String?,
      longitude: (json['longitude'] as num?)?.toDouble(),
      latitude: (json['latitude'] as num?)?.toDouble(),
      distance: (json['distance'] as num?)?.toDouble(),
      districtId: json['district_id'] as String?,
      districtName: json['district_name'] as String?,
      cityId: json['city_id'] as String?,
      cityName: json['city_name'] as String?,
    );

Map<String, dynamic> _$ProductStoreModelToJson(ProductStoreModel instance) =>
    <String, dynamic>{
      'id': instance.id,
      'code': instance.code,
      'name': instance.name,
      'phone': instance.phone,
      'email': instance.email,
      'fax': instance.fax,
      'address': instance.address,
      'longitude': instance.longitude,
      'latitude': instance.latitude,
      'distance': instance.distance,
      'district_id': instance.districtId,
      'district_name': instance.districtName,
      'city_id': instance.cityId,
      'city_name': instance.cityName,
    };
