Files
Holzleitner-Lieferservice-App/lib/dto/delivery_update.g.dart
Dennis Nemec b19a6e1cd4 Initial draft
2025-09-20 16:14:06 +02:00

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,
};