playEffect property

Implementation

_i2.Future<_i3.GamepadHapticsResult> Function(
  _i3.GamepadHapticEffectType, [
  _i3.GamepadEffectParameters?,
]) get playEffect => (
      _i3.GamepadHapticEffectType p0, [
      _i3.GamepadEffectParameters? p1,
    ]) =>
        _i4.promiseToFuture(_i4.callMethod(
          _i4.getProperty(
            this,
            'playEffect',
          ),
          r'call',
          [
            this,
            p0,
            p1 ?? _i6.undefined,
          ],
        ));

Implementation

set playEffect(
    _i2.Future<_i3.GamepadHapticsResult> Function(
      _i3.GamepadHapticEffectType, [
      _i3.GamepadEffectParameters?,
    ]) value) {
  _i4.setProperty(
    this,
    'playEffect',
    _i4.allowInterop(value),
  );
}