// GENERATED CODE - DO NOT MODIFY BY HAND part of 'delivery_update.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** DeliveryOptionUpdateDTO _$DeliveryOptionUpdateDTOFromJson( Map json, ) => DeliveryOptionUpdateDTO( numerical: json['numerical'] as bool, value: json['value'] as String, key: json['key'] as String, ); Map _$DeliveryOptionUpdateDTOToJson( DeliveryOptionUpdateDTO instance, ) => { 'numerical': instance.numerical, 'value': instance.value, 'key': instance.key, }; DeliveryUpdateDTO _$DeliveryUpdateDTOFromJson(Map json) => DeliveryUpdateDTO( deliveryId: json['delivery_id'] as String, finishedDate: json['finished_date'] as String?, selectedPaymentMethodId: json['selected_payment_method_id'] as String?, options: (json['options'] as List?) ?.map( (e) => DeliveryOptionUpdateDTO.fromJson(e as Map), ) .toList(), state: json['state'] as String?, carId: json['car_id'] as String?, ); Map _$DeliveryUpdateDTOToJson(DeliveryUpdateDTO instance) => { 'delivery_id': instance.deliveryId, 'finished_date': instance.finishedDate, 'state': instance.state, 'car_id': instance.carId, 'selected_payment_method_id': instance.selectedPaymentMethodId, 'options': instance.options, };