writeBytes abstract method

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

Writes bytes to the file at path, creating or replacing it.

The parent directory must exist; throws when it does not.

Implementation

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