28 lines
912 B
Dart
28 lines
912 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'address.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_Address _$AddressFromJson(Map<String, dynamic> json) => _Address(
|
|
street: json['street'] as String?,
|
|
city: json['city'] as String?,
|
|
state: json['state'] as String?,
|
|
postalCode: json['postal_code'] as String?,
|
|
country: json['country'] as String?,
|
|
addressType: json['address_type'] as String?,
|
|
isDefault: json['is_default'] as bool?,
|
|
);
|
|
|
|
Map<String, dynamic> _$AddressToJson(_Address instance) => <String, dynamic>{
|
|
'street': instance.street,
|
|
'city': instance.city,
|
|
'state': instance.state,
|
|
'postal_code': instance.postalCode,
|
|
'country': instance.country,
|
|
'address_type': instance.addressType,
|
|
'is_default': instance.isDefault,
|
|
};
|