warning static method

Future<void> warning()

Signals something the operator should double check (e.g. near expiry).

Implementation

static Future<void> warning() async {
  if (!enabled) return;
  await HapticFeedback.mediumImpact();
  if (soundEnabled) await SystemSound.play(SystemSoundType.alert);
}