UniqueValue constructor

UniqueValue({
  1. String description = '',
  2. String label = '',
  3. ArcGISSymbol? symbol,
  4. 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.

Parameters:

  • description — A description of the unique value. "Parcels zoned for residential use", for example.
  • label — A label for the unique value. "Residential", for example.
  • symbol — A symbol used to represent elements with this unique value.
  • values — A List containing dynamic types that define a unique value or unique combination of values.