restoreUntouched method

void restoreUntouched(
  1. Map<String, Object?> state
)

Restores keys not written locally since this store was created.

Implementation

void restoreUntouched(Map<String, Object?> state) {
  initialize(
    const {},
    Map.fromEntries(
      state.entries.where((entry) => !_localWrites.contains(entry.key)),
    ),
  );
}