SimpleLabelExpression class final

An expression script using the Simple REST language.

The label Simple expression expects to hold a legal, Simple script and to be read and evaluated by a Simple expression interpreter. An example expression that combines text with a field value is

"State: " CONCAT [State_Name]

Note that quotes are needed around the literal text. See Labeling objects for full documentation on the labelExpression syntax and functions. Warning: If the expression attempts to use attributes which don't exist then no label will be produced. This is distinct from the attribute existing but having a null or empty value, which can form part of the produced text label.

Inheritance

Constructors

SimpleLabelExpression({String simpleExpression = ''})
Create a label Simple expression with a specific Simple script.
factory

Properties

expression String
The label expression script string.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clone() LabelExpression
Clones the LabelExpression.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited