writeBytes abstract method

Future<void> writeBytes(
  1. String path,
  2. Uint8List bytes
)

Returns a Future that completes when bytes are written to a file at path.

On VM, this writes to the local file system. On Web, this stores the data in IndexedDB.

Implementation

Future<void> writeBytes(String path, Uint8List bytes);