unmount method

Future<void> unmount(
  1. UnmountOptions options
)

Unmounts a file system with the given fileSystemId. It must be called after onUnmountRequested is invoked. Also, the providing extension can decide to perform unmounting if not requested (eg. in case of lost connection, or a file error).

In case of an error, runtime.lastError will be set with a corresponding error code. |Returns|: A generic result callback to indicate success or failure.

Implementation

Future<void> unmount(UnmountOptions options) async {
  await $js.chrome.fileSystemProvider.unmount(options.toJS).toDart;
}