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