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