mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-21 09:33:37 +00:00
Serialization auto
This commit is contained in:
parent
5ec93124ec
commit
bd650ae609
7 changed files with 1261 additions and 71 deletions
22
aidedejeu_flutter/lib/models/test.g.dart
Normal file
22
aidedejeu_flutter/lib/models/test.g.dart
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'test.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
Test _$TestFromJson(Map<String, dynamic> json) {
|
||||
return Test()
|
||||
..id = json['id'] as String
|
||||
..rootId = json['rootId'] as String
|
||||
..parentLink = json['parentLink'] as String
|
||||
..name = json['name'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$TestToJson(Test instance) => <String, dynamic>{
|
||||
'id': instance.id,
|
||||
'rootId': instance.rootId,
|
||||
'parentLink': instance.parentLink,
|
||||
'name': instance.name,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue