definitionExpression property

String definitionExpression

A SQL statement where clause that stipulates a subset of features to be displayed.

The definition expression string uses the SQL-92 where clause syntax (https://en.wikipedia.org/wiki/SQL-92). Be sure to escape special characters in the expression string as required for your platform. The DATE keyword expects the date format yyyy-mm-dd and the TIMESTAMP keyword expects the time stamp format yyyy-mm-dd hh:mm:ss. For more information, see the ArcGIS Blog article Querying Feature Services Date-Time Queries.

Implementation

String get definitionExpression {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISSublayer_getDefinitionExpression(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}