OpenedFile constructor
OpenedFile({
- required int openRequestId,
- required String filePath,
- required OpenFileMode mode,
Implementation
OpenedFile({
/// A request ID to be be used by consecutive read/write and close requests.
required int openRequestId,
/// The path of the opened file.
required String filePath,
/// Whether the file was opened for reading or writing.
required OpenFileMode mode,
}) : _wrapped = $js.OpenedFile(
openRequestId: openRequestId,
filePath: filePath,
mode: mode.toJS,
);