getFeatureTemplate method

FeatureTemplate? getFeatureTemplate({
  1. required String name,
})

Searches for the feature template with the given name.

Parameters:

  • name — The name.

Return Value: A FeatureTemplate.

Implementation

FeatureTemplate? getFeatureTemplate({
  required String name,
}) {
  final coreName = _CString(name);
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISFeatureTable_getFeatureTemplate(
      _handle,
      coreName.bytes,
      errorHandler,
    );
  });
  return FeatureTemplate._fromHandle(
    objectHandle,
  );
}