You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The print statement is not reached. The JS console says:
terable<self.Gamepad>?', but got one of type 'List<dynamic>'
at Object.throw_ [as throw] (errors.dart:263:21)
at Object.castError (errors.dart:99:3)
at Object.cast [as as] (operations.dart:485:10)
at dart.NullableType.new.as (types.dart:399:9)
at Object._callMethodUnchecked0 (js_util_patch.dart:93:3)
at Object.PropsNavigator$124getGamepads [as PropsNavigator|getGamepads] (html.dart:8921:15)
The text was updated successfully, but these errors were encountered:
This is using dart 2.19.0 in debug mode (does not work in release mode either)
Code is roughly:
The print statement is not reached. The JS console says:
The text was updated successfully, but these errors were encountered: