isLeakFlagSet property

bool isLeakFlagSet

Whether the leak flag for this object has been set.

The flag should only be set in debug mode. If debug mode is on, the flag should be set at the end of the disposal process. At this point, the object is expected to be eligible for garbage collection.


bool get isLeakFlagSet => _leakFlag != null;