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