WriteFileRequestedOptions constructor

WriteFileRequestedOptions({
  1. required String fileSystemId,
  2. required int requestId,
  3. required int openRequestId,
  4. required double offset,
  5. required ByteBuffer data,
})

Implementation

WriteFileRequestedOptions({
  /// The identifier of the file system related to this operation.
  required String fileSystemId,

  /// The unique identifier of this request.
  required int requestId,

  /// A request ID used to open the file.
  required int openRequestId,

  /// Position in the file (in bytes) to start writing the bytes from.
  required double offset,

  /// Buffer of bytes to be written to the file.
  required ByteBuffer data,
}) : _wrapped = $js.WriteFileRequestedOptions(
        fileSystemId: fileSystemId,
        requestId: requestId,
        openRequestId: openRequestId,
        offset: offset,
        data: data.toJS,
      );