Initial draft
This commit is contained in:
29
lib/dto/delivery_update.g.dart
Normal file
29
lib/dto/delivery_update.g.dart
Normal file
@ -0,0 +1,29 @@
|
||||
// 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,
|
||||
};
|
||||
Reference in New Issue
Block a user