flutter_js
flutter_js copied to clipboard
SetTimeout called with Null
The SetTimeout
method seems to be able to receive null
parameter for non-nullable int
property
I/flutter (10469): Erro no setTimeout: type 'Null' is not a subtype of type 'int'
https://github.com/abner/flutter_js/blob/3bdd3d173cc62d5fefce3c45306b72234a6b0d4c/lib/javascript_runtime.dart#L136-L138
How to reproduce
Run unit-tests on this repo that is using the flutter_js
lib.
https://github.com/FAME-Capital/ethers_flutter/blob/63c77a6a65a7411bfa96ccf3beb0fda61153b61c/test/wallet_test.dart
I think this can be closed since it was fixed by your PR?