getConfiguration method
Gets the configuration descriptor for the currently selected configuration. |handle|: An open connection to the device.
Implementation
Future<ConfigDescriptor> getConfiguration(ConnectionHandle handle) async {
var $res = await promiseToFuture<$js.ConfigDescriptor>(
$js.chrome.usb.getConfiguration(handle.toJS));
return ConfigDescriptor.fromJS($res);
}