onVibration method

dynamic onVibration()

Implementation

onVibration() async {
  if (await Vibration.hasVibrator() ?? false) {
    Vibration.vibrate(duration: 200, amplitude: 64);
  }
}