UniqueValue class final
A unique value object.
- Implemented types
- Mixed in types
Constructors
-
UniqueValue({String description = '', String label = '', ArcGISSymbol? symbol, List<
Object> values = const []}) -
Creates a new unique value (or unique combination of values) and a symbol
used to display elements with this value in an UniqueValueRenderer.
factory
-
UniqueValue.fromJson(Map<
String, dynamic> json) -
factory
- UniqueValue.fromJsonString(String jsonString)
-
factory
Properties
- description ↔ String
-
A description of the unique value. "Parcels zoned for residential use",
for example.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- label ↔ String
-
A label for the unique value. "Residential", for example.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbol ↔ ArcGISSymbol?
-
A symbol used to represent elements with this unique value.
getter/setter pair
-
values
→ List<
Object> -
A List containing
dynamic
types that define a unique value or unique combination of values.no setter
Methods
-
clone(
) → UniqueValue - Clones the UniqueValue.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
-
toJsonString(
) → String -
Returns a JSON representation of this Object as a String.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override