systemInfo static method
- {MacOSInfoType type = MacOSInfoType.mini,
- MacOSInfoResultType resultType = MacOSInfoResultType.json}
Load System Info
Implementation
static Future<String> systemInfo({
MacOSInfoType type = MacOSInfoType.mini,
MacOSInfoResultType resultType = MacOSInfoResultType.json,
}) async {
String info = await _channel.invokeMethod('getInfo', {
"type": '$type'.replaceAll('MacOSInfoType.', ''),
"resultType": '$resultType'.replaceAll('MacOSInfoResultType.', ''),
});
return info;
}