getHardwarePlatformInfo method
Obtains the manufacturer and model for the hardware platform and, if the extension is authorized, returns it via |callback|. |callback|: Called with the hardware platform info.
Implementation
Future<HardwarePlatformInfo> getHardwarePlatformInfo() async {
var $res = await promiseToFuture<$js.HardwarePlatformInfo>(
$js.chrome.enterprise.hardwarePlatform.getHardwarePlatformInfo());
return HardwarePlatformInfo.fromJS($res);
}