downloadFile abstract method

Future<Stream<List<int>>> downloadFile(
  1. Attachment attachment
)

Downloads a file from remote storage.

attachment is the attachment record associated with the file.

Returns a stream of byte arrays representing the file data.

Implementation

Future<Stream<List<int>>> downloadFile(Attachment attachment);