getFeatureType method

FeatureType? getFeatureType(
  1. {required String name}
)

Searches for the 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_ArcGISFeatureTable_getFeatureType(
        _handle, coreName.bytes, errorHandler);
  });
  return FeatureType._fromHandle(objectHandle);
}