isAndroid property

bool get isAndroid

Checks whether the device is android or not

Implementation

static bool get isAndroid =>
    !isWeb && defaultTargetPlatform == TargetPlatform.android;