beep static method

Future<void> beep([
  1. bool success = true
])

Implementation

static Future<void> beep([bool success = true]) {
  var soundId =
      (Platform.isAndroid) ? (success ? 24 : 25) : (success ? 1256 : 1257);
  return playSysSound(soundId);
}