TableDescription constructor

TableDescription(
  1. {required String name}
)

Creates a new table description object with the specified name.

Parameters:

  • name — The table's name.

Implementation

factory TableDescription({required String name}) {
  _initializeArcGISEnvironmentIfNeeded();
  final coreName = _CString(name);
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_TableDescription_createWithName(
        coreName.bytes, errorHandler);
  });
  return TableDescription._withHandle(handle);
}