Open pepealonso95 opened 3 months ago
Yeah, the intent was to make it work with WASM and most of the generated bindings already uses dart:js_interop
.
In practice, wasm compilation was never really tested and it's totally possible that I missed some requirements.
I was not aware that we couldn't use dart:js_util
. I guess we will have to replace all the promiseToFuture
with toDart
.
Package needs to change dependencies like
'dart:js_util'
todart:js_interop
in order to be compatible with Flutter Web WASM. https://dart.dev/interop/js-interop