macosInfo method

  1. @override
Future<MacOsDeviceInfo> macosInfo()
override

Implementation

@override
Future<MacOsDeviceInfo> macosInfo() async {
  return MacOsDeviceInfo.fromMap(
    (await channel.invokeMethod('getMacosDeviceInfo'))
        .cast<String, dynamic>(),
  );
}