definitionExpression property
The where-clause of the sql expression that defines which annotation features from the feature table are selected into this sublayer.
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_AnnotationSublayer_getDefinitionExpression(
_handle,
errorHandler,
);
});
return stringHandle.toDartString();
}