SimpleFinalizerWrapperDebug<K extends Object, V extends Object> class

Debug variant of SimpleFinalizerWrapper.

In addition to the wrapped value, it keeps a weak reference to the associated key for inspection. The key is stored in _key as a WeakReference, so it does not prevent garbage collection.

Intended for memory leak analysis and lifecycle debugging.

Inheritance

Constructors

SimpleFinalizerWrapperDebug(K key, V value)

Properties

hashCode int
The hash code for this object.
no setterinherited
key → K?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → V
The wrapped value associated with the finalizer.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited