PersistenceKey class final
Identifies the cache of one database of one app: the engine derives its file or store name from it.
Constructors
- PersistenceKey({required String appName, required Uri databaseUrl})
-
Creates a key.
const
Properties
- appName → String
-
The name of the Firebase app.
final
- databaseUrl → Uri
-
The database URL (with
nsfor the emulator).final - hashCode → int
-
Hash of app name and database URL.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
The app name and database URL.
override
Operators
-
operator ==(
Object other) → bool -
Equal when app name and database URL are (Android keys its cache by both,
AndroidPlatform.createPersistenceManager).override