15 lines
263 B
Dart
15 lines
263 B
Dart
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;
|
|
}
|