setInvokeShakeOnShakeDeviceEvent static method

Future<void> setInvokeShakeOnShakeDeviceEvent(
  1. bool enabled
)

Sets if shake gesture invoking is enabled.

Implementation

static Future<void> setInvokeShakeOnShakeDeviceEvent(bool enabled) async {
  await _channel.invokeMethod('setInvokeShakeOnShakeDeviceEvent', {
    'enabled': enabled,
  });
}