snapshot method

Take a snapshot of the keystore's current state. Overrides KeyValueStore.snapshot with the atKey-aware snapshot type that surfaces AtKeyValueStoreSnapshot.scanKeys.

Implementation

@override
Future<AtKeyValueStoreSnapshot<String, AtData, AtMetaData?>>
    snapshot() async {
  return _HiveBestEffortSnapshot(this);
}