StoreBackend class abstract
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
storeForFile(
String name) → Future< Store> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultBaseDirectoryBuilder ↔ BaseDirectoryBuilder?
-
Allows overwriting the default mechanism for fetching the base
directory for storage (When not explicitly passed into
create)
getter/setter pair
Static Methods
-
create(
[BaseDirectoryBuilder? baseDirectoryBuilder]) → StoreBackend -
Creates a new store backend instance depending on either
dart:io or dart:html.
With dart:io the given
baseDirectoryBuilder
is used to determine the file system location store json files. Otherwise defaultBaseDirectoryBuilder is used.