decreaseOnLongPress method

void decreaseOnLongPress()

Implementation

void decreaseOnLongPress() {
  if(longPressed.value) {
    if(timerDuration > NeomGeneratorConstants.recursiveCallTimerDurationMin) timerDuration--;
    decreaseFrequency();
    Timer(Duration(milliseconds: timerDuration.value), decreaseOnLongPress);
  }
}