middleSetCreator method

  1. @override
void middleSetCreator(
  1. StateStatus status,
  2. Object? result
)
override

Implementation

@override
void middleSetCreator(StateStatus status, Object? result) {
  super.middleSetCreator(status, result);
  if (_snapState.hasData || _snapState.isIdle) {
    undoRedoPersistState?.call(_snapState, this);
  }
}