getFeatureSubtype method
Gets the corresponding FeatureSubtype for this feature.
If this feature belongs to an ArcGISFeatureTable that defines an ArcGISFeatureTable.subtypeField, a FeatureSubtype that matches FeatureSubtype.code with this feature's attribute value for subtype field is returned; otherwise, this will return null.
Return Value: The FeatureSubtype for this feature.
Implementation
FeatureSubtype? getFeatureSubtype() {
final objectHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ArcGISFeature_getFeatureSubtype(
_handle,
errorHandler,
);
});
return FeatureSubtype._fromHandle(
objectHandle,
);
}