writeFileBytes method

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

Implementation

Future<void> writeFileBytes(String path, List<int> bytes) =>
    writeFileStream(path, Stream.fromIterable([bytes]));