UniqueValue class final

A unique value object.

Implemented types
Mixed-in types

Constructors

UniqueValue({String description = '', String label = '', ArcGISSymbol? symbol, List<Object> values = const [], List<ArcGISSymbol> alternateSymbols = const []})
Creates a new unique value (or unique combination of values) object with alternate symbols.
factory
UniqueValue.fromJson(Map<CaseInsensitiveString, dynamic> json)
Creates an instance of this class from JSON of the data type used by jsonDecode.
factory
UniqueValue.fromJsonString(String jsonString)
Creates an instance of this class from a JSON String.
factory

Properties

alternateSymbols List<ArcGISSymbol>
The alternate symbols for the unique value's primary symbol. Symbols in this list should be of type MultilayerSymbol and must have SymbolReferenceProperties set with valid minimum and maximum scale at which symbol becomes visible. Renderer will pick only one symbol at a given map scale. If primary symbol's scale range falls within the map's scale, primary symbol is used. If not, then symbols in alternate symbols list are iterated through and first symbol matching the current map scale is picked for rendering. A symbol becomes visible if the map scale is less than or equal to symbol's minimum scale and greater than symbol's maximum scale.
no setter
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 collection 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<CaseInsensitiveString, 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