writeFile abstract method

Future<void> writeFile(
  1. String path,
  2. Uint8List data
)

Writes data to a file at the given path

Creates parent directories if they don't exist

Throws:

  • FileSystemException if write fails

Implementation

Future<void> writeFile(String path, Uint8List data);