BmapCoreFluttifyIOSIs<T> function
Future<bool>
BmapCoreFluttifyIOSIs<
T>( - dynamic __this__
)
Implementation
@optionalTypeArgs
Future<bool> BmapCoreFluttifyIOSIs<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 == BMKBaseLog) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKBaseLog', {'__this__': __this__});
return result;
} else if (T == BMKUserLocation) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKUserLocation', {'__this__': __this__});
return result;
} else if (T == BMKMapPoint) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKMapPoint', {'__this__': __this__});
return result;
} else if (T == BMKMapRect) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKMapRect', {'__this__': __this__});
return result;
} else if (T == BMKCoordinateSpan) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKCoordinateSpan', {'__this__': __this__});
return result;
} else if (T == BMKIndoorPlanNode) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKIndoorPlanNode', {'__this__': __this__});
return result;
} else if (T == BMKMapManager) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKMapManager', {'__this__': __this__});
return result;
} else if (T == BMKCoordinateBounds) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKCoordinateBounds', {'__this__': __this__});
return result;
} else if (T == BMKMapSize) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKMapSize', {'__this__': __this__});
return result;
} else if (T == BMKCoordinateRegion) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKCoordinateRegion', {'__this__': __this__});
return result;
} else if (T == BMKGeoPoint) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKGeoPoint', {'__this__': __this__});
return result;
} else if (T == BMKBuildInfo) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKBuildInfo', {'__this__': __this__});
return result;
} else if (T == BMKAddressComponent) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKAddressComponent', {'__this__': __this__});
return result;
} else if (T == BMKPlanNode) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfBMKPlanNode', {'__this__': __this__});
return result;
} else if (T == CLLocation) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfCLLocation', {'__this__': __this__});
return result;
} else if (T == CLHeading) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfCLHeading', {'__this__': __this__});
return result;
} else if (T == CGRect) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfCGRect', {'__this__': __this__});
return result;
} else if (T == CGPoint) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfCGPoint', {'__this__': __this__});
return result;
} else if (T == CGSize) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfCGSize', {'__this__': __this__});
return result;
} else if (T == UIEdgeInsets) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfUIEdgeInsets', {'__this__': __this__});
return result;
} else if (T == CLLocationCoordinate2D) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfCLLocationCoordinate2D', {'__this__': __this__});
return result;
} else if (T == CLLocationManager) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfCLLocationManager', {'__this__': __this__});
return result;
} else if (T == NSError) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfNSError', {'__this__': __this__});
return result;
} else if (T == UIView) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfUIView', {'__this__': __this__});
return result;
} else if (T == UIViewController) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfUIViewController', {'__this__': __this__});
return result;
} else if (T == UIControl) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfUIControl', {'__this__': __this__});
return result;
} else if (T == UIImage) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfUIImage', {'__this__': __this__});
return result;
} else if (T == UIImageView) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfUIImageView', {'__this__': __this__});
return result;
} else if (T == UIColor) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfUIColor', {'__this__': __this__});
return result;
} else if (T == NSData) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfNSData', {'__this__': __this__});
return result;
} else if (T == NSDate) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfNSDate', {'__this__': __this__});
return result;
} else if (T == NSOperation) {
final result = await kBmapCoreFluttifyChannel.invokeMethod('RefClass::isKindOfNSOperation', {'__this__': __this__});
return result;
}
else {
return false;
}
}