erorrSound method

void erorrSound({
  1. dynamic vibration = true,
})

Implementation

void erorrSound({vibration = true}) {
  if (_pool != null && _errorSoundID != null) _pool!.play(_errorSoundID!);
  if (vibration) HapticFeedback.heavyImpact();
}