isAndroid top-level property
bool
isAndroid
Whether the current operating system is a version of Android.
Identified by operatingSystem being the string android
.
Implementation
bool get isAndroid => OperatingSystem.current.isAndroid;