setLocked method

void setLocked(
  1. bool locked
)

Implementation

void setLocked(bool locked) {
  if (_locked == locked) {
    return;
  }
  _locked = locked;
  _notifyChanged();
}