checkReadOnly method

void checkReadOnly()

Implementation

void checkReadOnly() {
  if (_isReadOnly) {
    _throwReadOnlyException();
  }
}