read method

Stream<List<int>> read(
  1. {void onBlobMetadata(
    1. BlobMetadata metadata
    )}
)

Reads the blob as a stream of chunks.

Optional callback onBlobMetadata, when non-null, will be invoked exactly once before the stream ends (unless an error occurs).

Implementation

Stream<List<int>> read({
  void Function(BlobMetadata metadata) onBlobMetadata,
});