MountOptions constructor

MountOptions({
  1. required String fileSystemId,
  2. required String displayName,
  3. bool? writable,
  4. int? openedFilesLimit,
  5. bool? supportsNotifyTag,
  6. bool? persistent,
})

Implementation

MountOptions({
  /// The string indentifier of the file system. Must be unique per each
  /// extension.
  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).
  bool? writable,

  /// The maximum number of files that can be opened at once. If not
  /// specified,
  /// or 0, then not limited.
  int? openedFilesLimit,

  /// Whether the file system supports the `tag` field for observed
  /// directories.
  bool? supportsNotifyTag,

  /// Whether the framework should resume the file system at the next sign-in
  /// session. True by default.
  bool? persistent,
}) : _wrapped = $js.MountOptions(
        fileSystemId: fileSystemId,
        displayName: displayName,
        writable: writable,
        openedFilesLimit: openedFilesLimit,
        supportsNotifyTag: supportsNotifyTag,
        persistent: persistent,
      );