fromInterfaces static method
Implementation
static List<USBInterface> fromInterfaces(List<dynamic> interfaces) {
return interfaces
.map((interface) => USBInterface(
interfaceNumber: getProperty(interface, "interfaceNumber"),
claimed: getProperty(interface, "claimed"),
alternatesInterface: getProperty(interface, "alternates") == null
? null
: USBAlternateInterface.fromAlternateInterfaces(
getProperty(interface, "alternates"))))
.toList();
}