setVibration static method

Future<bool> setVibration(
  1. double leftMotorSpeed,
  2. double rightMotorSpeed
)

Implementation

static Future<bool> setVibration(
    double leftMotorSpeed, double rightMotorSpeed) async {
  final bool? res = await _channel.invokeMethod('setVibration',
      {"leftMotorSpeed": leftMotorSpeed, "rightMotorSpeed": rightMotorSpeed});
  return res ?? false;
}