getSublayerWithSubtypeName method
- String name
Finds a SubtypeSublayer for a feature subtype based on the subtype name.
Parameters:
name
— The subtype name of the sublayer to retrieve.
Return Value: The SubtypeSublayer of the subtype name.
Implementation
SubtypeSublayer? getSublayerWithSubtypeName(
String name,
) {
final coreName = _CString(name);
final objectHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_SubtypeFeatureLayer_getSublayerWithSubtypeName(
_handle,
coreName.bytes,
errorHandler,
);
});
return SubtypeSublayer._fromHandle(
objectHandle,
);
}