run method Null safety

void run()

Implementation

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