Finish implementation of Type and Enum
This commit is contained in:
parent
43d1477088
commit
68af1ff442
14
examples/Dart/Test.dart
Normal file
14
examples/Dart/Test.dart
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
import "./out/Test.dart";
|
||||||
|
import "./out/TestAtom.dart";
|
||||||
|
import "./out/TestEnum.dart";
|
||||||
|
import "dart:convert";
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
var t = new TestAtom(10, false, "hello");
|
||||||
|
print(jsonEncode(t));
|
||||||
|
|
||||||
|
var t2 = TestEnum.VAL2;
|
||||||
|
print(jsonEncode(t2));
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user