throwIfNotAvailable method

void throwIfNotAvailable([
  1. String? target
])

Implementation

void throwIfNotAvailable([String? target]) {
  if (isDisposed) {
    throw DisposedException(this, target);
  }
}