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.

Implementation

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