setInterval method
set Timer interval. (unit millisecond). 设置Timer间隔.
Implementation
void setInterval(int interval) {
if (interval <= 0) interval = Duration.millisecondsPerSecond;
mInterval = interval;
}
set Timer interval. (unit millisecond). 设置Timer间隔.
void setInterval(int interval) {
if (interval <= 0) interval = Duration.millisecondsPerSecond;
mInterval = interval;
}