forked from cubetiq/cubetiq_dart_shared
Task: Add toJson interfaces and export
This commit is contained in:
3
lib/interfaces.dart
Normal file
3
lib/interfaces.dart
Normal file
@@ -0,0 +1,3 @@
|
||||
library interfaces;
|
||||
|
||||
export 'src/json.dart';
|
||||
3
lib/src/json.dart
Normal file
3
lib/src/json.dart
Normal file
@@ -0,0 +1,3 @@
|
||||
abstract class ToJson {
|
||||
Map toJson();
|
||||
}
|
||||
Reference in New Issue
Block a user