cameraSound method

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

Implementation

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