JsonRPC/examples/Dart/Test.dart
2022-07-21 09:09:10 +02:00

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;
}