displayName property

String displayName

A user-friendly name that can be displayed in the UI (for example, in a Table of Contents).

If the table is displayed with a FeatureLayer, the FeatureTable.displayName is used as the Layer.name.

The default value is FeatureTable.tableName.

Implementation

String get displayName {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_FeatureTable_getDisplayName(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}
void displayName=(String value)

Implementation

set displayName(String value) {
  final coreValue = _CString(value);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_FeatureTable_setDisplayName(
      _handle,
      coreValue.bytes,
      errorHandler,
    );
  });
}