OpfsObjectStore class final

Web-only store; the VM build cannot reach this implementation.

Implemented types

Constructors

OpfsObjectStore()

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

close() → Future<void>
delete(String key) → Future<void>
Deletes key. Missing keys are ignored.
override
deleteMany(List<String> keys) → Future<void>
Deletes several keys with one request (S3 DeleteObjects).
override
get(String key) → Future<Uint8List?>
Reads key, or null when absent.
override
list(String prefix) → Future<List<String>>
Lists keys starting with prefix.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(String key, Uint8List bytes) → Future<void>
Creates or replaces key.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

open({String root = 'velxodb'}) → Future<OpfsObjectStore>