android constant Null safety

String const android

A string constant to compare with operatingSystem to see if the platform is Android.

Useful in case statements when switching on operatingSystem.

To just check if the platform is Android, use isAndroid.

Implementation

static const String android = 'android';