getSearchWhereClause method

String getSearchWhereClause(
  1. {required String sourceName}
)

Gets the search where clause from the specified network dataset's source feature class.

Parameters:

  • sourceName — The name of the network dataset's source feature class to retrieve the where clause from.

Return Value: A String where clause.

Implementation

String getSearchWhereClause({required String sourceName}) {
  final coreSourceName = _CString(sourceName);
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ClosestFacilityParameters_getSearchWhereClause(
        _handle, coreSourceName.bytes, errorHandler);
  });
  return stringHandle.toDartString();
}