Initial draft
This commit is contained in:
21
lib/dto/discount_update.g.dart
Normal file
21
lib/dto/discount_update.g.dart
Normal file
@ -0,0 +1,21 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'discount_update.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
DiscountUpdateDTO _$DiscountUpdateDTOFromJson(Map<String, dynamic> json) =>
|
||||
DiscountUpdateDTO(
|
||||
note: json['note'] as String?,
|
||||
deliveryId: json['delivery_id'] as String,
|
||||
discount: (json['discount'] as num?)?.toInt(),
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$DiscountUpdateDTOToJson(DiscountUpdateDTO instance) =>
|
||||
<String, dynamic>{
|
||||
'note': instance.note,
|
||||
'delivery_id': instance.deliveryId,
|
||||
'discount': instance.discount,
|
||||
};
|
||||
Reference in New Issue
Block a user