// ignore_for_file: non_constant_identifier_names, camel_case_types, missing_return, unused_import, unused_local_variable, dead_code, unnecessary_cast
//////////////////////////////////////////////////////////
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
//////////////////////////////////////////////////////////

import 'dart:io';

import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:amap_map_fluttify/src/android/android.export.g.dart';

import 'package:foundation_fluttify/foundation_fluttify.dart';
import 'package:core_location_fluttify/core_location_fluttify.dart';
import 'package:amap_core_fluttify/amap_core_fluttify.dart';
import 'package:amap_search_fluttify/amap_search_fluttify.dart';
import 'package:amap_location_fluttify/amap_location_fluttify.dart';


// type check
@optionalTypeArgs
Future<bool> AmapMapFluttifyAndroidIs<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 == com_amap_api_offlineservice_AMapPermissionActivity) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_offlineservice_AMapPermissionActivity', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_CommonInfoWindowAdapter) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_CommonInfoWindowAdapter', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnCameraChangeListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnCameraChangeListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_LocationSource) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_LocationSource', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_SupportMapFragment) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_SupportMapFragment', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnCacheRemoveListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnCacheRemoveListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnMultiPointClickListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnMultiPointClickListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_UiSettings) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_UiSettings', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_WearMapView_OnDismissCallback) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_WearMapView_OnDismissCallback', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_InfoWindowParams) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_InfoWindowParams', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_CameraUpdateFactory) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_CameraUpdateFactory', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_CancelableCallback) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_CancelableCallback', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMapException) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMapException', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnMapScreenShotListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnMapScreenShotListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMapOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMapOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnMapLoadedListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnMapLoadedListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMapOptionsCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMapOptionsCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnMarkerClickListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnMarkerClickListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_CoordinateConverter) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_CoordinateConverter', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_InfoWindowAdapter) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_InfoWindowAdapter', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnMyLocationChangeListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnMyLocationChangeListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_onMapPrintScreenListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_onMapPrintScreenListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_ImageInfoWindowAdapter) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_ImageInfoWindowAdapter', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnMarkerDragListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnMarkerDragListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_utils_SpatialRelationUtil) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_utils_SpatialRelationUtil', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_utils_overlay_SmoothMoveMarker_MoveListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_utils_overlay_SmoothMoveMarker_MoveListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_utils_overlay_MovingPointOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_utils_overlay_MovingPointOverlay', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_utils_overlay_MovingPointOverlay_MoveListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_utils_overlay_MovingPointOverlay_MoveListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_utils_overlay_SmoothMoveMarker) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_utils_overlay_SmoothMoveMarker', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_TextureSupportMapFragment) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_TextureSupportMapFragment', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_CameraUpdate) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_CameraUpdate', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_MapFragment) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_MapFragment', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_CustomRenderer) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_CustomRenderer', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_LocationSource_OnLocationChangedListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_LocationSource_OnLocationChangedListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_SwipeDismissView) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_SwipeDismissView', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_MapsInitializer) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_MapsInitializer', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapStatus) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_OfflineMapStatus', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapProvince) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_OfflineMapProvince', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapManager_OfflineMapDownloadListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_OfflineMapManager_OfflineMapDownloadListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_DownloadProgressView) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_DownloadProgressView', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_Province) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_Province', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapManager) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_OfflineMapManager', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapCity) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_OfflineMapCity', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapActivity) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_OfflineMapActivity', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_City) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_City', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_DownLoadListView) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_DownLoadListView', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_DownLoadExpandListView) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_DownLoadExpandListView', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapManager_OfflineLoadedListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_OfflineMapManager_OfflineLoadedListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_offlinemap_CityExpandView) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_offlinemap_CityExpandView', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnIndoorBuildingActiveListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnIndoorBuildingActiveListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnMapTouchListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnMapTouchListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_Projection) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_Projection', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_MultiPositionInfoWindowAdapter) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_MultiPositionInfoWindowAdapter', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_Polygon) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_Polygon', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_HeatMapLayerOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_HeatMapLayerOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_BitmapDescriptor) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_BitmapDescriptor', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_PolygonHoleOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_PolygonHoleOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_TileOverlayOptionsCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_TileOverlayOptionsCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_Poi) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_Poi', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MyLocationStyle) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MyLocationStyle', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_RouteOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_RouteOverlay', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_VisibleRegion) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_VisibleRegion', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_LatLngCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_LatLngCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CircleHoleOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CircleHoleOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_Text) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_Text', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_LatLngBounds_Builder) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_LatLngBounds_Builder', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_HeatMapLayer) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_HeatMapLayer', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_NavigateArrowOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_NavigateArrowOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_ColorLatLng) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_ColorLatLng', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_BitmapDescriptorFactory) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_BitmapDescriptorFactory', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CrossOverlay_GenerateCrossImageListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CrossOverlay_GenerateCrossImageListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_UrlTileProvider) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_UrlTileProvider', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MVTTileProvider) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MVTTileProvider', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MultiPointOverlayOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MultiPointOverlayOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_PoiCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_PoiCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_PolylineOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_PolylineOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_Tile) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_Tile', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_GL3DModel) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_GL3DModel', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_Gradient) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_Gradient', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_TileProvider) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_TileProvider', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_HeatMapItem) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_HeatMapItem', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_NaviPara) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_NaviPara', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_GroundOverlayOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_GroundOverlayOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_GL3DModelOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_GL3DModelOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CrossOverlay_OnCrossVectorUpdateListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CrossOverlay_OnCrossVectorUpdateListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_GroundOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_GroundOverlay', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MyTrafficStyle) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MyTrafficStyle', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CameraPosition) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CameraPosition', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_TextOptionsCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_TextOptionsCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_PoiPara) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_PoiPara', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MarkerOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MarkerOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_HeatmapTileProvider) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_HeatmapTileProvider', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_NavigateArrow) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_NavigateArrow', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_animation_AnimationSet) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_animation_AnimationSet', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_animation_RotateAnimation) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_animation_RotateAnimation', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_animation_TranslateAnimation) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_animation_TranslateAnimation', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_animation_Animation_AnimationListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_animation_Animation_AnimationListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_animation_Animation) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_animation_Animation', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_animation_EmergeAnimation) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_animation_EmergeAnimation', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_animation_AlphaAnimation) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_animation_AlphaAnimation', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_animation_ScaleAnimation) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_animation_ScaleAnimation', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_LatLngBounds) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_LatLngBounds', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CustomMapStyleOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CustomMapStyleOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_TileOverlaySource) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_TileOverlaySource', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CrossOverlayOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CrossOverlayOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_VisibleRegionCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_VisibleRegionCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_LatLng) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_LatLng', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_TileProjection) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_TileProjection', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_AMapPara) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_AMapPara', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CameraPosition_Builder) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CameraPosition_Builder', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_BasePointOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_BasePointOverlay', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CircleOptionsCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CircleOptionsCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_Arc) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_Arc', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_AMapCameraInfo) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_AMapCameraInfo', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CrossOverlay_UpdateItem) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CrossOverlay_UpdateItem', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_Circle) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_Circle', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_PolygonOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_PolygonOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_WeightedLatLng) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_WeightedLatLng', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MVTTileOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MVTTileOverlay', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MyLocationStyleCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MyLocationStyleCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MarkerOptionsCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MarkerOptionsCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MultiPointItem) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MultiPointItem', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_LatLngBoundsCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_LatLngBoundsCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_ArcOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_ArcOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_BitmapDescriptorCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_BitmapDescriptorCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MVTTileOverlayOptions_Builder) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MVTTileOverlayOptions_Builder', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CircleOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CircleOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_NavigateArrowOptionsCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_NavigateArrowOptionsCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_ImageOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_ImageOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_AMapGestureListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_AMapGestureListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_HeatMapGridLayerOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_HeatMapGridLayerOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_RuntimeRemoteException) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_RuntimeRemoteException', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_AMapGLOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_AMapGLOverlay', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_HeatmapTileProvider_Builder) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_HeatmapTileProvider_Builder', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MultiPointOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MultiPointOverlay', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_BaseOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_BaseOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_PolylineOptionsCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_PolylineOptionsCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_BaseOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_BaseOverlay', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_Marker) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_Marker', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_TileOverlayOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_TileOverlayOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_HeatMapGridLayer) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_HeatMapGridLayer', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_RoutePara) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_RoutePara', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_ArcOptionsCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_ArcOptionsCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CameraPositionCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CameraPositionCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_CrossOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_CrossOverlay', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_ParticleOverLifeModule) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_ParticleOverLifeModule', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_ConstantRotationOverLife) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_ConstantRotationOverLife', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_SinglePointParticleShape) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_SinglePointParticleShape', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_RandomVelocityBetweenTwoConstants) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_RandomVelocityBetweenTwoConstants', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_CurveSizeOverLife) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_CurveSizeOverLife', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_ParticleEmissionModule) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_ParticleEmissionModule', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_SizeOverLife) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_SizeOverLife', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_RectParticleShape) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_RectParticleShape', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_ColorGenerate) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_ColorGenerate', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_VelocityGenerate) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_VelocityGenerate', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_RotationOverLife) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_RotationOverLife', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_RandomColorBetWeenTwoConstants) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_RandomColorBetWeenTwoConstants', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_ParticleShapeModule) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_ParticleShapeModule', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_ParticleOverlayOptionsFactory) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_ParticleOverlayOptionsFactory', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_ParticleOverlayOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_ParticleOverlayOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_particle_ParticleOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_particle_ParticleOverlay', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_MVTTileOverlayOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_MVTTileOverlayOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_BaseHoleOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_BaseHoleOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_TextOptions) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_TextOptions', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_TileOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_TileOverlay', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_PolygonOptionsCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_PolygonOptionsCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_TileProjectionCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_TileProjectionCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_GroundOverlayOptionsCreator) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_GroundOverlayOptionsCreator', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_BaseOptions_BaseUpdateFlags) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_BaseOptions_BaseUpdateFlags', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_IndoorBuildingInfo) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_IndoorBuildingInfo', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_model_Polyline) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_model_Polyline', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_TextureMapView) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_TextureMapView', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMapUtils) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMapUtils', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_TextureMapFragment) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_TextureMapFragment', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnPOIClickListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnPOIClickListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnInfoWindowClickListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnInfoWindowClickListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnMapClickListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnMapClickListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_InfoWindowAnimationManager) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_InfoWindowAnimationManager', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnPolylineClickListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnPolylineClickListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_WearMapView) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_WearMapView', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap_OnMapLongClickListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap_OnMapLongClickListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_BaseMapView) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_BaseMapView', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_AMap) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_AMap', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_MapView) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_MapView', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_maps_ExceptionLogger) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_maps_ExceptionLogger', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_trace_LBSTraceBase) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_trace_LBSTraceBase', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_trace_TraceStatusListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_trace_TraceStatusListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_trace_TraceListener) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_trace_TraceListener', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_trace_TraceLocation) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_trace_TraceLocation', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_trace_LBSTraceClient) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_trace_LBSTraceClient', {'__this__': __this__});
    return result;
  } else if (T == com_amap_api_trace_TraceOverlay) {
    final result = await kAmapMapFluttifyChannel.invokeMethod('RefClass::isKindOfcom_amap_api_trace_TraceOverlay', {'__this__': __this__});
    return result;
  }
  else {
    return false;
  }
}

// type cast
// 给一个可选的泛型, 如果没有指定泛型就返回dynamic
@optionalTypeArgs
T? AmapMapFluttifyAndroidAs<T>(dynamic __this__) {
  final typeName = T.toString();

  if (__this__ == null) {
    return null;
  } else if (RegExp(r'^(List<)?(String|int|double)(>)?|(Map<String,(String|int|double)>)$').hasMatch(typeName)) {
    return __this__ as T;
  }
  else if (T == com_amap_api_offlineservice_AMapPermissionActivity) {
    return (com_amap_api_offlineservice_AMapPermissionActivity()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_CommonInfoWindowAdapter) {
    return (com_amap_api_maps_AMap_CommonInfoWindowAdapter.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnCameraChangeListener) {
    return (com_amap_api_maps_AMap_OnCameraChangeListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_LocationSource) {
    return (com_amap_api_maps_LocationSource.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_SupportMapFragment) {
    return (com_amap_api_maps_SupportMapFragment()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnCacheRemoveListener) {
    return (com_amap_api_maps_AMap_OnCacheRemoveListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnMultiPointClickListener) {
    return (com_amap_api_maps_AMap_OnMultiPointClickListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_UiSettings) {
    return (com_amap_api_maps_UiSettings()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_WearMapView_OnDismissCallback) {
    return (com_amap_api_maps_WearMapView_OnDismissCallback.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_InfoWindowParams) {
    return (com_amap_api_maps_InfoWindowParams()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_CameraUpdateFactory) {
    return (com_amap_api_maps_CameraUpdateFactory()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_CancelableCallback) {
    return (com_amap_api_maps_AMap_CancelableCallback.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMapException) {
    return (com_amap_api_maps_AMapException()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnMapScreenShotListener) {
    return (com_amap_api_maps_AMap_OnMapScreenShotListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMapOptions) {
    return (com_amap_api_maps_AMapOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnMapLoadedListener) {
    return (com_amap_api_maps_AMap_OnMapLoadedListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMapOptionsCreator) {
    return (com_amap_api_maps_AMapOptionsCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnMarkerClickListener) {
    return (com_amap_api_maps_AMap_OnMarkerClickListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_CoordinateConverter) {
    return (com_amap_api_maps_CoordinateConverter()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_InfoWindowAdapter) {
    return (com_amap_api_maps_AMap_InfoWindowAdapter.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnMyLocationChangeListener) {
    return (com_amap_api_maps_AMap_OnMyLocationChangeListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_onMapPrintScreenListener) {
    return (com_amap_api_maps_AMap_onMapPrintScreenListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_ImageInfoWindowAdapter) {
    return (com_amap_api_maps_AMap_ImageInfoWindowAdapter.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnMarkerDragListener) {
    return (com_amap_api_maps_AMap_OnMarkerDragListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_utils_SpatialRelationUtil) {
    return (com_amap_api_maps_utils_SpatialRelationUtil()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_utils_overlay_SmoothMoveMarker_MoveListener) {
    return (com_amap_api_maps_utils_overlay_SmoothMoveMarker_MoveListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_utils_overlay_MovingPointOverlay) {
    return (com_amap_api_maps_utils_overlay_MovingPointOverlay()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_utils_overlay_MovingPointOverlay_MoveListener) {
    return (com_amap_api_maps_utils_overlay_MovingPointOverlay_MoveListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_utils_overlay_SmoothMoveMarker) {
    return (com_amap_api_maps_utils_overlay_SmoothMoveMarker()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_TextureSupportMapFragment) {
    return (com_amap_api_maps_TextureSupportMapFragment()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_CameraUpdate) {
    return (com_amap_api_maps_CameraUpdate()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_MapFragment) {
    return (com_amap_api_maps_MapFragment()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_CustomRenderer) {
    return (com_amap_api_maps_CustomRenderer.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_LocationSource_OnLocationChangedListener) {
    return (com_amap_api_maps_LocationSource_OnLocationChangedListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_SwipeDismissView) {
    return (com_amap_api_maps_SwipeDismissView()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_MapsInitializer) {
    return (com_amap_api_maps_MapsInitializer()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapStatus) {
    return (com_amap_api_maps_offlinemap_OfflineMapStatus()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapProvince) {
    return (com_amap_api_maps_offlinemap_OfflineMapProvince()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapManager_OfflineMapDownloadListener) {
    return (com_amap_api_maps_offlinemap_OfflineMapManager_OfflineMapDownloadListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_DownloadProgressView) {
    return (com_amap_api_maps_offlinemap_DownloadProgressView()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_Province) {
    return (com_amap_api_maps_offlinemap_Province()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapManager) {
    return (com_amap_api_maps_offlinemap_OfflineMapManager()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapCity) {
    return (com_amap_api_maps_offlinemap_OfflineMapCity()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapActivity) {
    return (com_amap_api_maps_offlinemap_OfflineMapActivity()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_City) {
    return (com_amap_api_maps_offlinemap_City()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_DownLoadListView) {
    return (com_amap_api_maps_offlinemap_DownLoadListView()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_DownLoadExpandListView) {
    return (com_amap_api_maps_offlinemap_DownLoadExpandListView()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_OfflineMapManager_OfflineLoadedListener) {
    return (com_amap_api_maps_offlinemap_OfflineMapManager_OfflineLoadedListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_offlinemap_CityExpandView) {
    return (com_amap_api_maps_offlinemap_CityExpandView()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnIndoorBuildingActiveListener) {
    return (com_amap_api_maps_AMap_OnIndoorBuildingActiveListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnMapTouchListener) {
    return (com_amap_api_maps_AMap_OnMapTouchListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_Projection) {
    return (com_amap_api_maps_Projection()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_MultiPositionInfoWindowAdapter) {
    return (com_amap_api_maps_AMap_MultiPositionInfoWindowAdapter.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_Polygon) {
    return (com_amap_api_maps_model_Polygon()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_HeatMapLayerOptions) {
    return (com_amap_api_maps_model_HeatMapLayerOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_BitmapDescriptor) {
    return (com_amap_api_maps_model_BitmapDescriptor()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_PolygonHoleOptions) {
    return (com_amap_api_maps_model_PolygonHoleOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_TileOverlayOptionsCreator) {
    return (com_amap_api_maps_model_TileOverlayOptionsCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_Poi) {
    return (com_amap_api_maps_model_Poi()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MyLocationStyle) {
    return (com_amap_api_maps_model_MyLocationStyle()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_RouteOverlay) {
    return (com_amap_api_maps_model_RouteOverlay()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_VisibleRegion) {
    return (com_amap_api_maps_model_VisibleRegion()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_LatLngCreator) {
    return (com_amap_api_maps_model_LatLngCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CircleHoleOptions) {
    return (com_amap_api_maps_model_CircleHoleOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_Text) {
    return (com_amap_api_maps_model_Text()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_LatLngBounds_Builder) {
    return (com_amap_api_maps_model_LatLngBounds_Builder()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_HeatMapLayer) {
    return (com_amap_api_maps_model_HeatMapLayer()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_NavigateArrowOptions) {
    return (com_amap_api_maps_model_NavigateArrowOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_ColorLatLng) {
    return (com_amap_api_maps_model_ColorLatLng()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_BitmapDescriptorFactory) {
    return (com_amap_api_maps_model_BitmapDescriptorFactory()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CrossOverlay_GenerateCrossImageListener) {
    return (com_amap_api_maps_model_CrossOverlay_GenerateCrossImageListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_UrlTileProvider) {
    return (com_amap_api_maps_model_UrlTileProvider()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MVTTileProvider) {
    return (com_amap_api_maps_model_MVTTileProvider()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MultiPointOverlayOptions) {
    return (com_amap_api_maps_model_MultiPointOverlayOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_PoiCreator) {
    return (com_amap_api_maps_model_PoiCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_PolylineOptions) {
    return (com_amap_api_maps_model_PolylineOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_Tile) {
    return (com_amap_api_maps_model_Tile()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_GL3DModel) {
    return (com_amap_api_maps_model_GL3DModel()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_Gradient) {
    return (com_amap_api_maps_model_Gradient()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_TileProvider) {
    return (com_amap_api_maps_model_TileProvider.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_HeatMapItem) {
    return (com_amap_api_maps_model_HeatMapItem()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_NaviPara) {
    return (com_amap_api_maps_model_NaviPara()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_GroundOverlayOptions) {
    return (com_amap_api_maps_model_GroundOverlayOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_GL3DModelOptions) {
    return (com_amap_api_maps_model_GL3DModelOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CrossOverlay_OnCrossVectorUpdateListener) {
    return (com_amap_api_maps_model_CrossOverlay_OnCrossVectorUpdateListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_GroundOverlay) {
    return (com_amap_api_maps_model_GroundOverlay()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MyTrafficStyle) {
    return (com_amap_api_maps_model_MyTrafficStyle()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CameraPosition) {
    return (com_amap_api_maps_model_CameraPosition()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_TextOptionsCreator) {
    return (com_amap_api_maps_model_TextOptionsCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_PoiPara) {
    return (com_amap_api_maps_model_PoiPara()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MarkerOptions) {
    return (com_amap_api_maps_model_MarkerOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_HeatmapTileProvider) {
    return (com_amap_api_maps_model_HeatmapTileProvider()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_NavigateArrow) {
    return (com_amap_api_maps_model_NavigateArrow()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_animation_AnimationSet) {
    return (com_amap_api_maps_model_animation_AnimationSet()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_animation_RotateAnimation) {
    return (com_amap_api_maps_model_animation_RotateAnimation()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_animation_TranslateAnimation) {
    return (com_amap_api_maps_model_animation_TranslateAnimation()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_animation_Animation_AnimationListener) {
    return (com_amap_api_maps_model_animation_Animation_AnimationListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_animation_Animation) {
    return (com_amap_api_maps_model_animation_Animation()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_animation_EmergeAnimation) {
    return (com_amap_api_maps_model_animation_EmergeAnimation()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_animation_AlphaAnimation) {
    return (com_amap_api_maps_model_animation_AlphaAnimation()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_animation_ScaleAnimation) {
    return (com_amap_api_maps_model_animation_ScaleAnimation()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_LatLngBounds) {
    return (com_amap_api_maps_model_LatLngBounds()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CustomMapStyleOptions) {
    return (com_amap_api_maps_model_CustomMapStyleOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_TileOverlaySource) {
    return (com_amap_api_maps_model_TileOverlaySource()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CrossOverlayOptions) {
    return (com_amap_api_maps_model_CrossOverlayOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_VisibleRegionCreator) {
    return (com_amap_api_maps_model_VisibleRegionCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_LatLng) {
    return (com_amap_api_maps_model_LatLng()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_TileProjection) {
    return (com_amap_api_maps_model_TileProjection()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_AMapPara) {
    return (com_amap_api_maps_model_AMapPara()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CameraPosition_Builder) {
    return (com_amap_api_maps_model_CameraPosition_Builder()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_BasePointOverlay) {
    return (com_amap_api_maps_model_BasePointOverlay()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CircleOptionsCreator) {
    return (com_amap_api_maps_model_CircleOptionsCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_Arc) {
    return (com_amap_api_maps_model_Arc()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_AMapCameraInfo) {
    return (com_amap_api_maps_model_AMapCameraInfo()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CrossOverlay_UpdateItem) {
    return (com_amap_api_maps_model_CrossOverlay_UpdateItem()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_Circle) {
    return (com_amap_api_maps_model_Circle()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_PolygonOptions) {
    return (com_amap_api_maps_model_PolygonOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_WeightedLatLng) {
    return (com_amap_api_maps_model_WeightedLatLng()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MVTTileOverlay) {
    return (com_amap_api_maps_model_MVTTileOverlay()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MyLocationStyleCreator) {
    return (com_amap_api_maps_model_MyLocationStyleCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MarkerOptionsCreator) {
    return (com_amap_api_maps_model_MarkerOptionsCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MultiPointItem) {
    return (com_amap_api_maps_model_MultiPointItem()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_LatLngBoundsCreator) {
    return (com_amap_api_maps_model_LatLngBoundsCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_ArcOptions) {
    return (com_amap_api_maps_model_ArcOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_BitmapDescriptorCreator) {
    return (com_amap_api_maps_model_BitmapDescriptorCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MVTTileOverlayOptions_Builder) {
    return (com_amap_api_maps_model_MVTTileOverlayOptions_Builder()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CircleOptions) {
    return (com_amap_api_maps_model_CircleOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_NavigateArrowOptionsCreator) {
    return (com_amap_api_maps_model_NavigateArrowOptionsCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_ImageOptions) {
    return (com_amap_api_maps_model_ImageOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_AMapGestureListener) {
    return (com_amap_api_maps_model_AMapGestureListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_HeatMapGridLayerOptions) {
    return (com_amap_api_maps_model_HeatMapGridLayerOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_RuntimeRemoteException) {
    return (com_amap_api_maps_model_RuntimeRemoteException()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_AMapGLOverlay) {
    return (com_amap_api_maps_model_AMapGLOverlay()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_HeatmapTileProvider_Builder) {
    return (com_amap_api_maps_model_HeatmapTileProvider_Builder()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MultiPointOverlay) {
    return (com_amap_api_maps_model_MultiPointOverlay()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_BaseOptions) {
    return (com_amap_api_maps_model_BaseOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_PolylineOptionsCreator) {
    return (com_amap_api_maps_model_PolylineOptionsCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_BaseOverlay) {
    return (com_amap_api_maps_model_BaseOverlay()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_Marker) {
    return (com_amap_api_maps_model_Marker()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_TileOverlayOptions) {
    return (com_amap_api_maps_model_TileOverlayOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_HeatMapGridLayer) {
    return (com_amap_api_maps_model_HeatMapGridLayer()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_RoutePara) {
    return (com_amap_api_maps_model_RoutePara()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_ArcOptionsCreator) {
    return (com_amap_api_maps_model_ArcOptionsCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CameraPositionCreator) {
    return (com_amap_api_maps_model_CameraPositionCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_CrossOverlay) {
    return (com_amap_api_maps_model_CrossOverlay()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_ParticleOverLifeModule) {
    return (com_amap_api_maps_model_particle_ParticleOverLifeModule()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_ConstantRotationOverLife) {
    return (com_amap_api_maps_model_particle_ConstantRotationOverLife()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_SinglePointParticleShape) {
    return (com_amap_api_maps_model_particle_SinglePointParticleShape()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_RandomVelocityBetweenTwoConstants) {
    return (com_amap_api_maps_model_particle_RandomVelocityBetweenTwoConstants()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_CurveSizeOverLife) {
    return (com_amap_api_maps_model_particle_CurveSizeOverLife()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_ParticleEmissionModule) {
    return (com_amap_api_maps_model_particle_ParticleEmissionModule()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_SizeOverLife) {
    return (com_amap_api_maps_model_particle_SizeOverLife()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_RectParticleShape) {
    return (com_amap_api_maps_model_particle_RectParticleShape()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_ColorGenerate) {
    return (com_amap_api_maps_model_particle_ColorGenerate()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_VelocityGenerate) {
    return (com_amap_api_maps_model_particle_VelocityGenerate()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_RotationOverLife) {
    return (com_amap_api_maps_model_particle_RotationOverLife()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_RandomColorBetWeenTwoConstants) {
    return (com_amap_api_maps_model_particle_RandomColorBetWeenTwoConstants()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_ParticleShapeModule) {
    return (com_amap_api_maps_model_particle_ParticleShapeModule()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_ParticleOverlayOptionsFactory) {
    return (com_amap_api_maps_model_particle_ParticleOverlayOptionsFactory()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_ParticleOverlayOptions) {
    return (com_amap_api_maps_model_particle_ParticleOverlayOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_particle_ParticleOverlay) {
    return (com_amap_api_maps_model_particle_ParticleOverlay()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_MVTTileOverlayOptions) {
    return (com_amap_api_maps_model_MVTTileOverlayOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_BaseHoleOptions) {
    return (com_amap_api_maps_model_BaseHoleOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_TextOptions) {
    return (com_amap_api_maps_model_TextOptions()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_TileOverlay) {
    return (com_amap_api_maps_model_TileOverlay()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_PolygonOptionsCreator) {
    return (com_amap_api_maps_model_PolygonOptionsCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_TileProjectionCreator) {
    return (com_amap_api_maps_model_TileProjectionCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_GroundOverlayOptionsCreator) {
    return (com_amap_api_maps_model_GroundOverlayOptionsCreator()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_BaseOptions_BaseUpdateFlags) {
    return (com_amap_api_maps_model_BaseOptions_BaseUpdateFlags()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_IndoorBuildingInfo) {
    return (com_amap_api_maps_model_IndoorBuildingInfo()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_model_Polyline) {
    return (com_amap_api_maps_model_Polyline()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_TextureMapView) {
    return (com_amap_api_maps_TextureMapView()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMapUtils) {
    return (com_amap_api_maps_AMapUtils()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_TextureMapFragment) {
    return (com_amap_api_maps_TextureMapFragment()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnPOIClickListener) {
    return (com_amap_api_maps_AMap_OnPOIClickListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnInfoWindowClickListener) {
    return (com_amap_api_maps_AMap_OnInfoWindowClickListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnMapClickListener) {
    return (com_amap_api_maps_AMap_OnMapClickListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_InfoWindowAnimationManager) {
    return (com_amap_api_maps_InfoWindowAnimationManager()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnPolylineClickListener) {
    return (com_amap_api_maps_AMap_OnPolylineClickListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_WearMapView) {
    return (com_amap_api_maps_WearMapView()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap_OnMapLongClickListener) {
    return (com_amap_api_maps_AMap_OnMapLongClickListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_BaseMapView) {
    return (com_amap_api_maps_BaseMapView.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_AMap) {
    return (com_amap_api_maps_AMap()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_MapView) {
    return (com_amap_api_maps_MapView()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_maps_ExceptionLogger) {
    return (com_amap_api_maps_ExceptionLogger.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_trace_LBSTraceBase) {
    return (com_amap_api_trace_LBSTraceBase.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_trace_TraceStatusListener) {
    return (com_amap_api_trace_TraceStatusListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_trace_TraceListener) {
    return (com_amap_api_trace_TraceListener.subInstance()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_trace_TraceLocation) {
    return (com_amap_api_trace_TraceLocation()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_trace_LBSTraceClient) {
    return (com_amap_api_trace_LBSTraceClient()..refId = (__this__ as Ref).refId) as T;
  } else if (T == com_amap_api_trace_TraceOverlay) {
    return (com_amap_api_trace_TraceOverlay()..refId = (__this__ as Ref).refId) as T;
  }

  final FoundationFluttifyObject = FoundationFluttifyAndroidAs<T>(__this__);
  if (FoundationFluttifyObject != null) {
    return FoundationFluttifyObject;
  }
  final CoreLocationFluttifyObject = CoreLocationFluttifyAndroidAs<T>(__this__);
  if (CoreLocationFluttifyObject != null) {
    return CoreLocationFluttifyObject;
  }
  final AmapCoreFluttifyObject = AmapCoreFluttifyAndroidAs<T>(__this__);
  if (AmapCoreFluttifyObject != null) {
    return AmapCoreFluttifyObject;
  }
  final AmapSearchFluttifyObject = AmapSearchFluttifyAndroidAs<T>(__this__);
  if (AmapSearchFluttifyObject != null) {
    return AmapSearchFluttifyObject;
  }
  final AmapLocationFluttifyObject = AmapLocationFluttifyAndroidAs<T>(__this__);
  if (AmapLocationFluttifyObject != null) {
    return AmapLocationFluttifyObject;
  }

  // 匹配不到目标类型, 直接返回原对象
  debugPrint('匹配不到目标类型, 直接返回原对象');
  return __this__;
}