writeBytes method
Writes bytes to path, optionally creating missing parents.
Implementation
@override
Future<Result<void>> writeBytes(
String path,
List<int> bytes, {
bool createParents = false,
}) async {
if (_writeBytesResults.isNotEmpty) {
return _writeBytesResults.removeFirst();
}
return _write('writeBytes', path, bytes, createParents: createParents);
}