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 $js.chrome.usb.getConfiguration(handle.toJS).toDart;
return ConfigDescriptor.fromJS($res);
}