readStream static method

Stream<Uint8List> readStream(
  1. String key, {
  2. UStorageBucket bucket = UStorageBucket.support,
  3. int start = 0,
  4. int? end,
})

Streams a big stored file in chunks, optionally a byte range (video, audio). UFile.readStream("movie.mp4")

Implementation

static Stream<Uint8List> readStream(String key, {UStorageBucket bucket = UStorageBucket.support, int start = 0, int? end}) => UFileStorage.read(key, bucket: bucket, start: start, end: end);