getGamepads property

List<Gamepad?> Function() get getGamepads

Implementation

_i2.List<_i3.Gamepad?> Function() get getGamepads => () => ((_i4.callMethod(
      _i4.getProperty(
        this,
        'getGamepads',
      ),
      r'call',
      [this],
    )) as _i2.List)
        .cast();
set getGamepads (List<Gamepad?> value())

Implementation

set getGamepads(_i2.List<_i3.Gamepad?> Function() value) {
  _i4.setProperty(
    this,
    'getGamepads',
    _i4.allowInterop(
        () => () => value().map((i) => i ?? _i6.undefined).toList()),
  );
}