debugIsDirty property
When asserts are enabled, returns whether node is marked as dirty.
Otherwise, returns null.
This getter is intended for use in framework unit tests. Applications must not depend on its value.
Implementation
@visibleForTesting
bool? get debugIsDirty {
bool? isDirty;
assert(() {
isDirty = _dirty;
return true;
}());
return isDirty;
}