BinaryStoragePort class abstract interface

Port for binary asset storage.

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 reference) → Future<bool>
Delete a stored asset.
exists(String reference) → Future<bool>
Check if a reference exists.
list([String? prefix]) → Future<List<String>>
List all stored references with optional prefix.
metadata(String reference) → Future<StorageMetadata?>
Get metadata for a reference.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieve(String reference) → Future<Uint8List>
Retrieve binary data by reference.
store(Stream<List<int>> data, String mimeType, [StorageOptions options = const StorageOptions()]) → Future<String>
Store binary data and return a reference.
toString() → String
A string representation of this object.
inherited

Operators

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