releaseInterface method
Releases a claimed interface. |handle|: An open connection to the device. |interfaceNumber|: The interface to be released.
Implementation
Future<void> releaseInterface(
ConnectionHandle handle,
int interfaceNumber,
) async {
await promiseToFuture<void>($js.chrome.usb.releaseInterface(
handle.toJS,
interfaceNumber,
));
}