isReplacing property

bool isReplacing

Returns true when entities processing this bucket should restore their state from the information in the bucket (e.g. via read and claimChild) instead of copying their current state information into the bucket (e.g. via write and adoptChild.

This flag is true for the frame after the RestorationManager has been instructed to restore the application from newly provided restoration data.

Implementation

bool get isReplacing => _manager?.isReplacing ?? false;