readOnly property

bool readOnly

Implementation

bool get readOnly => _readOnly;
void readOnly=(bool readOnly)

Implementation

set readOnly(bool readOnly) {
  _readOnly = readOnly;
  if (readOnly) {
    configLookup = null; // can't mod, no need for lookup cache
  } else {
    configLookup = defaultConfigLookup();
  }
}