write abstract method

Future<void> write(
  1. String path,
  2. List<int> bytes, {
  3. bool append = false,
})

Writes bytes to path, creating parent folders.

Replaces an existing file atomically: a reader sees the old contents or the new ones, never a mix. With append, adds to the end instead.

Implementation

Future<void> write(String path, List<int> bytes, {bool append = false});