debugOwner property Null safety

Object? debugOwner

The owner of the bucket that was provided when the bucket was claimed via claimChild.

The value is used in error messages. Accessing the value is only valid in debug mode, otherwise it will return null.

Implementation

Object? get debugOwner {
  assert(_debugAssertNotDisposed());
  return _debugOwner;
}