debugIsDefunct property Null safety
Returns true if the Element is defunct.
This getter always returns false in profile and release builds. See the lifecycle documentation for Element for additional information.
Implementation
bool get debugIsDefunct {
bool isDefunct = false;
assert(() {
isDefunct = _lifecycleState == _ElementLifecycle.defunct;
return true;
}());
return isDefunct;
}