ejectDevice method
Ejects a removable storage device.
Implementation
Future<EjectDeviceResultCode> ejectDevice(String id) async {
var $res = await promiseToFuture<$js.EjectDeviceResultCode>(
$js.chrome.system.storage.ejectDevice(id));
return EjectDeviceResultCode.fromJS($res);
}