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