isMacOS property Null safety

bool isMacOS

Implementation

static bool get isMacOS =>
    _navigator.appVersion.contains('Mac OS') && !GeneralPlatform.isIOS;