Initial draft
This commit is contained in:
26
lib/dto/discount_update_response.g.dart
Normal file
26
lib/dto/discount_update_response.g.dart
Normal file
@ -0,0 +1,26 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'discount_update_response.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
DiscountUpdateResponseDTO _$DiscountUpdateResponseDTOFromJson(
|
||||
Map<String, dynamic> json,
|
||||
) => DiscountUpdateResponseDTO(
|
||||
values:
|
||||
json['values'] == null
|
||||
? null
|
||||
: UpdatedValues.fromJson(json['values'] as Map<String, dynamic>),
|
||||
succeeded: json['succeeded'] as bool,
|
||||
message: json['message'] as String,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$DiscountUpdateResponseDTOToJson(
|
||||
DiscountUpdateResponseDTO instance,
|
||||
) => <String, dynamic>{
|
||||
'succeeded': instance.succeeded,
|
||||
'message': instance.message,
|
||||
'values': instance.values,
|
||||
};
|
||||
Reference in New Issue
Block a user