location property

  1. @override
String get location
override

The store this points at: the canonicalised database file plus the atSign its keystore is keyed by, since one file can hold more than one atSign. An in-memory database is private to the connection that opened it, so it reports a token unique to this instance instead — two of those share nothing and must not be refused as one store.

Implementation

@override
String get location => dbPath == inMemoryPath
    ? '$inMemoryPath#${identityHashCode(this)}'
    : '${p.canonicalize(dbPath)}::$atSign';