debugDisposed property

bool? debugDisposed

Whether this has been disposed.

If asserts are disabled, this property is always null.

Implementation

bool? get debugDisposed {
  bool? disposed;
  assert(() {
    disposed = _debugDisposed;
    return true;
  }());
  return disposed;
}