isApple property
bool
get
isApple
Whether or not we are running on an Apple device (MacOS or iOS).
Implementation
static bool get isApple =>
defaultTargetPlatform == TargetPlatform.macOS || defaultTargetPlatform == TargetPlatform.iOS;