// GENERATED CODE - DO NOT MODIFY BY HAND part of 'discount_add.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** DiscountAddDTO _$DiscountAddDTOFromJson(Map json) => DiscountAddDTO( note: json['note'] as String, deliveryId: json['delivery_id'] as String, discount: (json['discount'] as num).toInt(), ); Map _$DiscountAddDTOToJson(DiscountAddDTO instance) => { 'note': instance.note, 'delivery_id': instance.deliveryId, 'discount': instance.discount, };