thresholdMs property

int get thresholdMs

Current threshold.

Implementation

int get thresholdMs => _thresholdMs;
set thresholdMs (int value)

Update the threshold.

Implementation

set thresholdMs(int value) {
  if (value >= 0) _thresholdMs = value;
}