onChangedTo method Null safety

  1. @override
void onChangedTo()
override

Called by the controller when this state is changed to

Implementation

@override
void onChangedTo() {
  model.prgmFlag = true;
  if (!_alreadyDisplayed) {
    program.displayCurrent();
  }
}