textSnapshot method

Map<String, String> textSnapshot(
  1. String locator
)

The same snapshot with every member decoded as UTF-8 — valid for a plaintext bundle, and meaningless for an encrypted container.

Implementation

Map<String, String> textSnapshot(String locator) => {
  for (final entry in snapshot(locator).entries)
    entry.key: utf8.decode(entry.value),
};