saveFile abstract method
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);