flutterfire icon indicating copy to clipboard operation
flutterfire copied to clipboard

Fix more unsafe casts to `int`.

Open eyebrowsoffire opened this issue 1 year ago • 0 comments

Taking values from JSON and directly casting them to int or double makes them incompatible with dart2wasm, since in wasm they are two distinct types (as opposed to JavaScript where they are actually the same under the hood).

eyebrowsoffire avatar Apr 23 '24 20:04 eyebrowsoffire