ObjectStore class abstract interface

Minimal object-store contract.

Real adapters (S3, GCS, R2) implement this with HTTP; tests and benchmarks use SimulatedObjectStore. Keys are flat strings; Slash-separated prefixes are the only hierarchy.

Implementers

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

delete(String key) → Future<void>
Deletes key. Missing keys are ignored.
deleteMany(List<String> keys) → Future<void>
Deletes several keys with one request (S3 DeleteObjects).
get(String key) → Future<Uint8List?>
Reads key, or null when absent.
list(String prefix) → Future<List<String>>
Lists keys starting with prefix.
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.
toString() → String
A string representation of this object.
inherited

Operators

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