OpenFileRequestedOptions constructor

OpenFileRequestedOptions({
  1. required String fileSystemId,
  2. required int requestId,
  3. required String filePath,
  4. required OpenFileMode mode,
})

Implementation

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

  /// A request ID which will be used by consecutive read/write and close
  /// requests.
  required int requestId,

  /// The path of the file to be opened.
  required String filePath,

  /// Whether the file will be used for reading or writing.
  required OpenFileMode mode,
}) : _wrapped = $js.OpenFileRequestedOptions(
        fileSystemId: fileSystemId,
        requestId: requestId,
        filePath: filePath,
        mode: mode.toJS,
      );