download method
Implementation
@override
Stream<List<int>> download(String path, {Future<void>? abortTrigger}) async* {
// Cancelling this subscription closes the room tool output stream.
if (abortTrigger != null) throw UnsupportedError('Room downloads use stream subscription cancellation');
final stream = await room.storage.downloadStream(path);
await for (final chunk in stream) {
yield chunk.data;
}
}