write method

Future<void> write(
  1. String path,
  2. Uint8List data, {
  3. void onProgress(
    1. int count,
    2. int total
    )?,
  4. CancelToken? cancelToken,
})

Write the bytes to remote path

Implementation

Future<void> write(
  String path,
  Uint8List data, {
  void Function(int count, int total)? onProgress,
  CancelToken? cancelToken,
}) {
  return this.c.wdWriteWithBytes(
        this,
        path,
        data,
        onProgress: onProgress,
        cancelToken: cancelToken,
      );
}