FileSystemInfo constructor
FileSystemInfo({})
Implementation
FileSystemInfo({
/// The identifier of the file system.
required String fileSystemId,
/// A human-readable name for the file system.
required String displayName,
/// Whether the file system supports operations which may change contents
/// of the file system (such as creating, deleting or writing to files).
required bool writable,
/// The maximum number of files that can be opened at once. If 0, then not
/// limited.
required int openedFilesLimit,
/// List of currently opened files.
required List<OpenedFile> openedFiles,
/// Whether the file system supports the `tag` field for observing
/// directories.
bool? supportsNotifyTag,
/// List of watchers.
required List<Watcher> watchers,
}) : _wrapped = $js.FileSystemInfo(
fileSystemId: fileSystemId,
displayName: displayName,
writable: writable,
openedFilesLimit: openedFilesLimit,
openedFiles: openedFiles.toJSArray((e) => e.toJS),
supportsNotifyTag: supportsNotifyTag,
watchers: watchers.toJSArray((e) => e.toJS),
);