mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 14:35:45 +00:00
16 lines
339 B
Dart
16 lines
339 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'test.g.dart';
|
|
|
|
@JsonSerializable(explicitToJson: true)
|
|
class Test {
|
|
String id;
|
|
String rootId;
|
|
String parentLink;
|
|
String name;
|
|
|
|
Test();
|
|
|
|
factory Test.fromJson(Map<String, dynamic> map) => _$TestFromJson(map);
|
|
Map<String, dynamic> toJson() => _$TestToJson(this);
|
|
}
|