OpfsSidecarStore class
Sidecar records in the origin-private file system, under one account.
- Implemented types
Constructors
- OpfsSidecarStore.forAccount(String accountKey)
-
A store rooted at
accountKey.factory
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
-
append(
String ref, String line) → Future< void> -
Add one line to the end.
override
-
copy(
String from, String to) → Future< void> -
Copy
fromontoto, overwriting. No-op whenfromis absent.override -
exists(
String ref) → Future< bool> -
Whether anything has been written at
ref.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String ref) → Future< String?> -
The whole record, or null when it has never been written.
override
-
remove(
String ref) → Future< void> -
Remove the record. No-op when it is already absent.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
wipe(
) → Future< void> - Drop everything this account has written.
-
write(
String ref, String contents) → Future< void> -
Replace the whole record.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited