EnumValuePair class
The enumeration value pair defines two things: a required string value and an optional integer value.
The string value defines the necessary query term required to retrieve that item, such as p0 for a priority item. The integer value determines the ranking of that string value relative to other enumerated values for the same property. For example, you might associate p0 with 0 and define another enum pair such as p1 and 1. You must use the integer value in combination with ordered ranking to set the ranking of a given value relative to other enumerated values for the same property name. Here, a ranking order of DESCENDING for priority properties results in a ranking boost for items indexed with a value of p0 compared to items indexed with a value of p1. Without a specified ranking order, the integer value has no effect on item ranking.
Constructors
- EnumValuePair({int? integerValue, String? stringValue})
 - EnumValuePair.fromJson(Map json_)
 
Properties
- hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - integerValue ↔ int?
 - 
  The integer value of the EnumValuePair which must be non-negative.
  getter/setter pair
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 - stringValue ↔ String?
 - 
  The string value of the EnumValuePair.
  getter/setter pair
 
Methods
- 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  toJson(
) → Map< String, dynamic>  - 
  toString(
) → String  - 
  A string representation of this object.
  inherited
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  inherited