simpleVibrate method

  1. @override
Future<void> simpleVibrate({
  1. required int period,
  2. required int amplitude,
})
override

Implementation

@override
Future<void> simpleVibrate({
  required int period,
  required int amplitude,
}) async {
  return await methodChannel.invokeMethod(
    "simple_vibrate",
    {
      "milliseconds": period,
      "amplitude": amplitude,
    },
  );
}