FileBundleFileStore class
BundleFileStore over a .mbd/ directory on the local filesystem.
This is what desktop and mobile hosts get, and it is the behaviour every existing consumer already has — the port was introduced under them, not instead of them.
- Implemented types
Constructors
- FileBundleFileStore(String bundleRoot)
-
Bind to the
.mbd/directory atbundleRoot.
Properties
- bundleRoot → String
-
Absolute path of the bundle's
.mbd/directory.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
String path) → Future< void> -
Delete
path. No-op when it does not exist.override -
exists(
String path) → Future< bool> -
Whether
pathexists.override -
list(
{String? folder}) → Future< List< String> > -
Enumerate paths under
folder(bundle-root relative, sorted).override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String path) → Future< Uint8List?> -
Read
path, ornullwhen it does not exist.override -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String path, Uint8List bytes) → Future< void> -
Write
bytesatpath, creating intermediate structure as needed.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited