13 lines
234 B
Dart
13 lines
234 B
Dart
import "./out/lib/example.dart";
|
|
import "dart:convert";
|
|
|
|
int main() {
|
|
var t = TestAtom(val_boolean: false, val_number: 1, val_string: "hi");
|
|
print(jsonEncode(t));
|
|
|
|
var t2 = TestEnum.VAL2;
|
|
print(jsonEncode(t2));
|
|
|
|
return 0;
|
|
}
|