enableWorkArea property Null safety

bool enableWorkArea

Whether or not the work area is enabled.

Implementation

bool get enableWorkArea => _enableWorkArea;
void enableWorkArea=(bool value)

Change the _enableWorkArea field value. enableWorkAreaChanged will be invoked only if the field's value has changed.

Implementation

set enableWorkArea(bool value) {
  if (_enableWorkArea == value) {
    return;
  }
  bool from = _enableWorkArea;
  _enableWorkArea = value;
  if (hasValidated) {
    enableWorkAreaChanged(from, value);
  }
}