checkNotDisposed static method

void checkNotDisposed(
  1. Disposable disposable
)

Implementation

static void checkNotDisposed(Disposable disposable) {
  if (disposable.isDisposed) {
    throw DisposedError();
  }
}