getCpuInfo method
Implementation
@override
Future<CpuInfo> getCpuInfo() async {
final map = await methodChannel.invokeMapMethod<dynamic, dynamic>('getCpuInfo');
if (map == null) {
throw PlatformException(
code: 'NULL_RESPONSE',
message: 'getCpuInfo returned null',
);
}
return CpuInfo.fromMap(map);
}