makeReadOnly method

void makeReadOnly()

Makes this collection read-only.

Implementation

void makeReadOnly() {
  _isReadOnly = true;
}