isMobile static method

bool isMobile()

Implementation

static bool isMobile() {
  return Platform.isAndroid || Platform.isIOS;
}