isAndroid static method

bool isAndroid()

Implementation

static bool isAndroid() {
  if(!isWeb()) {
    try {
      return Platform.isAndroid;
    } catch (e) {
      return false;
    }
  }
  return false;
}