OpenFileRequestedOptions constructor
OpenFileRequestedOptions({
- required String fileSystemId,
- required int requestId,
- required String filePath,
- 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,
);