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