isMacOS static method

Future<bool> isMacOS()

检查当前设备是否为Mac设备。

Implementation

static Future<bool> isMacOS() async {
  return Platform.isMacOS;
}