saveFile abstract method

Future<int> saveFile(
  1. String filePath,
  2. Stream<List<int>> data
)

Saves binary data stream to storage at the specified file path

filePath - Path where the file will be stored data - List of binary data to store Returns the total size of the written data in bytes

Implementation

Future<int> saveFile(String filePath, Stream<List<int>> data);