persistDifference abstract method

Future<void> persistDifference({
  1. required St? lastPersistedState,
  2. required St newState,
})

Save the new state to the persistence.

Implementation

Future<void> persistDifference({
  required St? lastPersistedState,
  required St newState,
});