JcoreFluttifyAndroidIs<T> function

  1. @optionalTypeArgs
Future<bool> JcoreFluttifyAndroidIs<T>(
  1. dynamic __this__
)

Implementation

@optionalTypeArgs
Future<bool> JcoreFluttifyAndroidIs<T>(dynamic __this__) async {
  final typeName = T.toString();
  if (RegExp(r'^(List<)?(String|int|double)(>)?|(Map<String,(String|int|double)>)$').hasMatch(typeName)) {
    return __this__ is T;
  }
  else if (T == cn_jcore_client_android_BuildConfig) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jcore_client_android_BuildConfig', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_analytics_page_ActivityLifecycle) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_analytics_page_ActivityLifecycle', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_analytics_page_PushSA) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_analytics_page_PushSA', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_android_BuildConfig) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_android_BuildConfig', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_android_IDataShare) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_android_IDataShare', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_BaseLogger) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_BaseLogger', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_JActionExtra) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_JActionExtra', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_JCoreInterface) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_JCoreInterface', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_JCoreManager) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_JCoreManager', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_JDispatchAction) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_JDispatchAction', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_JProtocol) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_JProtocol', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_JRequest) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_JRequest', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_JResponse) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_JResponse', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_MultiSpHelper) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_MultiSpHelper', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_utils_ByteBufferUtils) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_utils_ByteBufferUtils', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_utils_OutputDataUtil) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_utils_OutputDataUtil', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_api_utils_ProtocolUtil) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_api_utils_ProtocolUtil', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_net_DefaultHostVerifier) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_net_DefaultHostVerifier', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_net_HttpRequest) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_net_HttpRequest', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_net_HttpResponse) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_net_HttpResponse', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_net_HttpUtils) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_net_HttpUtils', {'__this__': __this__});
    return result;
  } else if (T == cn_jiguang_net_SSLTrustManager) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jiguang_net_SSLTrustManager', {'__this__': __this__});
    return result;
  } else if (T == cn_jpush_android_service_AlarmReceiver) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jpush_android_service_AlarmReceiver', {'__this__': __this__});
    return result;
  } else if (T == cn_jpush_android_service_DActivity) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jpush_android_service_DActivity', {'__this__': __this__});
    return result;
  } else if (T == cn_jpush_android_service_DaemonService) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jpush_android_service_DaemonService', {'__this__': __this__});
    return result;
  } else if (T == cn_jpush_android_service_DataProvider) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jpush_android_service_DataProvider', {'__this__': __this__});
    return result;
  } else if (T == cn_jpush_android_service_DataShare) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jpush_android_service_DataShare', {'__this__': __this__});
    return result;
  } else if (T == cn_jpush_android_service_DownloadActivity) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jpush_android_service_DownloadActivity', {'__this__': __this__});
    return result;
  } else if (T == cn_jpush_android_service_DownloadProvider) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jpush_android_service_DownloadProvider', {'__this__': __this__});
    return result;
  } else if (T == cn_jpush_android_service_JCommonService) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jpush_android_service_JCommonService', {'__this__': __this__});
    return result;
  } else if (T == cn_jpush_android_service_PushReceiver) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jpush_android_service_PushReceiver', {'__this__': __this__});
    return result;
  } else if (T == cn_jpush_android_service_PushService) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jpush_android_service_PushService', {'__this__': __this__});
    return result;
  } else if (T == cn_jpush_android_service_WakedResultReceiver) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfcn_jpush_android_service_WakedResultReceiver', {'__this__': __this__});
    return result;
  } else if (T == android_content_Context) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_content_Context', {'__this__': __this__});
    return result;
  } else if (T == android_content_Intent) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_content_Intent', {'__this__': __this__});
    return result;
  } else if (T == android_content_ContentProvider) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_content_ContentProvider', {'__this__': __this__});
    return result;
  } else if (T == android_app_Application) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_app_Application', {'__this__': __this__});
    return result;
  } else if (T == android_app_Notification) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_app_Notification', {'__this__': __this__});
    return result;
  } else if (T == android_app_Activity) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_app_Activity', {'__this__': __this__});
    return result;
  } else if (T == android_app_PendingIntent) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_app_PendingIntent', {'__this__': __this__});
    return result;
  } else if (T == android_os_Bundle) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_os_Bundle', {'__this__': __this__});
    return result;
  } else if (T == android_os_Binder) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_os_Binder', {'__this__': __this__});
    return result;
  } else if (T == android_view_View) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_view_View', {'__this__': __this__});
    return result;
  } else if (T == android_view_SurfaceView) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_view_SurfaceView', {'__this__': __this__});
    return result;
  } else if (T == android_view_SurfaceHolder) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_view_SurfaceHolder', {'__this__': __this__});
    return result;
  } else if (T == android_opengl_GLSurfaceView) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_opengl_GLSurfaceView', {'__this__': __this__});
    return result;
  } else if (T == android_view_ViewGroup) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_view_ViewGroup', {'__this__': __this__});
    return result;
  } else if (T == android_graphics_Point) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_graphics_Point', {'__this__': __this__});
    return result;
  } else if (T == android_graphics_PointF) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_graphics_PointF', {'__this__': __this__});
    return result;
  } else if (T == android_graphics_Bitmap) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_graphics_Bitmap', {'__this__': __this__});
    return result;
  } else if (T == android_widget_ImageView) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_widget_ImageView', {'__this__': __this__});
    return result;
  } else if (T == java_io_File) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfjava_io_File', {'__this__': __this__});
    return result;
  } else if (T == android_location_Location) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_location_Location', {'__this__': __this__});
    return result;
  } else if (T == android_view_MotionEvent) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_view_MotionEvent', {'__this__': __this__});
    return result;
  } else if (T == android_graphics_drawable_Drawable) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_graphics_drawable_Drawable', {'__this__': __this__});
    return result;
  } else if (T == android_widget_FrameLayout) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_widget_FrameLayout', {'__this__': __this__});
    return result;
  } else if (T == android_widget_TextView) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_widget_TextView', {'__this__': __this__});
    return result;
  } else if (T == android_widget_LinearLayout) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_widget_LinearLayout', {'__this__': __this__});
    return result;
  } else if (T == android_widget_RelativeLayout) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_widget_RelativeLayout', {'__this__': __this__});
    return result;
  } else if (T == android_util_Pair) {
    final result = await kJcoreFluttifyChannel.invokeMethod('RefClass::isKindOfandroid_util_Pair', {'__this__': __this__});
    return result;
  }
  else {
    return false;
  }
}