getFeatureType method
- required String name,
Gets a feature type with the given name.
Parameters:
name
— The name.
Return Value: A FeatureType.
Implementation
FeatureType? getFeatureType({
required String name,
}) {
final coreName = _CString(name);
final objectHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ArcGISFeatureLayerInfo_getFeatureType(
_handle,
coreName.bytes,
errorHandler,
);
});
return FeatureType._fromHandle(
objectHandle,
);
}