isAndroid top-level property

bool get isAndroid

Whether the app is running on Android.

Implementation

bool get isAndroid => targetPlatform == .android;