close method

void close()

Implementation

void close() {
  if (_closed) {
    throw const MutationClosedException();
  }
  _closed = true;
  for (var element in _onCloseList) {
    element(this);
  }
}