isMacOS property
bool
get
isMacOS
Returns true
if the current platform is macOS.
Implementation
bool get isMacOS => platform == TargetPlatform.macOS;
Returns true
if the current platform is macOS.
bool get isMacOS => platform == TargetPlatform.macOS;