stop static method

Future<void> stop({
  1. double atTime = 0.0,
})

Stops any currently playing haptic pattern.

On iOS, this stops the active CHHapticAdvancedPatternPlayer. On Android, this cancels the Vibrator.

atTime - (iOS only) The time, in seconds, to schedule the stop. Use 0.0 for immediate.

Implementation

static Future<void> stop({double atTime = 0.0}) async {
  await _channel.invokeMethod('stop', {'atTime': atTime});
}