isLeakFlagSet property

  1. @override
bool get isLeakFlagSet
inherited

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.

Implementation

@override
bool get isLeakFlagSet => _leakFlag != null;