workEnd property Null safety

int workEnd

End of the work area in frames.

Implementation

int get workEnd => _workEnd;
void workEnd=(int value)

Change the _workEnd field value. workEndChanged will be invoked only if the field's value has changed.

Implementation

set workEnd(int value) {
  if (_workEnd == value) {
    return;
  }
  int from = _workEnd;
  _workEnd = value;
  if (hasValidated) {
    workEndChanged(from, value);
  }
}