If you need to generate synchronous functions in Dart, you can use
SyncReturn<T> as the return type.
We suggest only do this for very quick Rust functions, or the Dart UI will be blocked.
Vec<u8> and primitive types(
f64). Please open an issue if you need other types.