enumerationValueMap property Null safety
Contains lookup table for string value of an enumeration to the enumerated value.
Value is null when this attribute does not represent an enumerated type.
If enum Options { option1, option2 }
then this map contains:
{
"option1": Options.option1,
"option2": Options.option2
}
Implementation
Map<String, dynamic> get enumerationValueMap => type!.enumerationMap;