isTablet method

Future<bool> isTablet()

Checks if AATKit recognizes given device as tablet.

Implementation

Future<bool> isTablet() async {
  try {
    return await AatkitFlutterPluginPlatform.instance.isTablet();
  } on PlatformException catch (e) {
    aatkitLog("PlatformException, error: $e");
    return false;
  }
}