isReplacing property

bool isReplacing

Returns true for the frame after rootBucket has been replaced with a new non-null bucket.

When true, entities should forget their current state and restore their state according to the information in the new rootBucket.

The RestorationManager informs its listeners (added via addListener) when this flag changes from false to true.

Implementation

bool get isReplacing => _isReplacing;