setInterval method
Set Timer interval (unit: milliseconds).
Implementation
void setInterval(int interval) {
if (interval <= 0) interval = Duration.millisecondsPerSecond;
mInterval = interval;
}
Set Timer interval (unit: milliseconds).
void setInterval(int interval) {
if (interval <= 0) interval = Duration.millisecondsPerSecond;
mInterval = interval;
}