30 lines
1.1 KiB
Dart
30 lines
1.1 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'delivery_update.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
DeliveryUpdateDTO _$DeliveryUpdateDTOFromJson(Map<String, dynamic> json) =>
|
|
DeliveryUpdateDTO(
|
|
deliveryId: json['delivery_id'] as String,
|
|
note: json['note'] as String?,
|
|
finishedDate: json['finished_date'] as String?,
|
|
discount: (json['discount'] as num?)?.toDouble(),
|
|
selectedPaymentMethodId: json['selected_payment_method_id'] as String?,
|
|
state: json['state'] as String?,
|
|
carId: (json['car_id'] as num?)?.toInt(),
|
|
);
|
|
|
|
Map<String, dynamic> _$DeliveryUpdateDTOToJson(DeliveryUpdateDTO instance) =>
|
|
<String, dynamic>{
|
|
'delivery_id': instance.deliveryId,
|
|
'note': instance.note,
|
|
'finished_date': instance.finishedDate,
|
|
'state': instance.state,
|
|
'car_id': instance.carId,
|
|
'selected_payment_method_id': instance.selectedPaymentMethodId,
|
|
'discount': instance.discount,
|
|
};
|