Closed
Description
I'm using flutter master 3.21.0.7.0.pre.47 and dart 3.4.0
The following code:
print(1.jsify().dartify());
print(1.toJS.dartify());
prints 1
when compiled as javascript and 1.0
when compiled as wasm (following flutter instructions)
So it seems all int are converted to double. Is this normal? If yes, how to properly do a int or double conversion in wasm without loosing the type?