getAvailableCapacity method
Get the available capacity of a specified |id| storage device. The |id| is the transient device ID from StorageUnitInfo.
Implementation
Future<StorageAvailableCapacityInfo> getAvailableCapacity(String id) async {
var $res = await $js.chrome.system.storage.getAvailableCapacity(id).toDart;
return StorageAvailableCapacityInfo.fromJS($res);
}