isAlive property

bool get isAlive

Whether the object is still reachable.

Implementation

bool get isAlive => _strongRef != null || _weakRef?.target != null;