isDarwin property
bool
isDarwin
Whether the current platform is ios or macos.
Implementation
bool get isDarwin => Platform.isIOS || Platform.isMacOS;
Whether the current platform is ios or macos.
bool get isDarwin => Platform.isIOS || Platform.isMacOS;