debugBuildingDirtyElements property
@protected, read / write
Whether we are currently in a frame. This is used to verify that frames are not scheduled redundantly.
This is public so that test frameworks can change it.
This flag is not used in release builds.
Implementation
bool debugBuildingDirtyElements = false