21 lines
674 B
Dart
21 lines
674 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'discount.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
DiscountDTO _$DiscountDTOFromJson(Map<String, dynamic> json) => DiscountDTO(
|
|
note: json['note'] as String?,
|
|
noteId: json['note_id'] as String?,
|
|
article: ArticleDTO.fromJson(json['article'] as Map<String, dynamic>),
|
|
);
|
|
|
|
Map<String, dynamic> _$DiscountDTOToJson(DiscountDTO instance) =>
|
|
<String, dynamic>{
|
|
'note': instance.note,
|
|
'note_id': instance.noteId,
|
|
'article': instance.article,
|
|
};
|