Task: Add toJson interfaces and export

This commit is contained in:
2021-06-02 17:16:54 +07:00
parent 19ddc8114c
commit 942095bbdd
3 changed files with 11 additions and 3 deletions

3
lib/interfaces.dart Normal file
View File

@@ -0,0 +1,3 @@
library interfaces;
export 'src/json.dart';

3
lib/src/json.dart Normal file
View File

@@ -0,0 +1,3 @@
abstract class ToJson {
Map toJson();
}