DeferredFunction constructor Null safety

DeferredFunction(
  1. Model<ProgramOperation> m,
  2. void f(
      )
    )

    Implementation

    DeferredFunction(this.m, this.f) : disableDisplay = m.displayDisabled {
      _timeout = Timer(const Duration(seconds: 2), _expired);
      m.displayDisabled = true;
    }