debugDisposed property

bool debugDisposed

Whether this reference to the underlying vertex data is disposed.

This only returns a valid value if asserts are enabled, and must not be used otherwise.

Implementation

bool get debugDisposed {
  bool? disposed;
  assert(() {
    disposed = _disposed;
    return true;
  }());
  return disposed ?? (throw StateError('Vertices.debugDisposed is only available when asserts are enabled.'));
}