You can override this to prevent undo/redo operations in certain cases (e.g. when in a loading value)
@protected bool get allowOperations => true;