run method Null safety
Implementation
void run() {
if (_timeout.isActive) {
m.displayDisabled = disableDisplay;
_timeout.cancel();
f(); // could throw exception
}
}
void run() {
if (_timeout.isActive) {
m.displayDisabled = disableDisplay;
_timeout.cancel();
f(); // could throw exception
}
}