checkNotClosed method

void checkNotClosed()
inherited

Implementation

void checkNotClosed() {
  if (isClosed) {
    throw StateError("Closed: $this");
  }
}