decreaseFrequency method

Future<void> decreaseFrequency({
  1. double step = 1,
})

Implementation

Future<void> decreaseFrequency({double step = 1}) async {
  double newFrequency = chamberPreset.neomFrequency!.frequency - step;
  if(newFrequency <= 0) return;
  await setFrequency(newFrequency);
}