isAndroid property

bool get isAndroid

Returns true if the platform is Android.

Implementation

static bool get isAndroid =>
    DevicePlatformType.currentPlatformType == PlatformType.Android;