unmodifiableEnumMap top-level constant

GenerateUnmodifiableEnumMap const unmodifiableEnumMap

Use this annotation on enums to create a modifiable map based on them. Such map has a const constructor.

Implementation

const unmodifiableEnumMap = GenerateUnmodifiableEnumMap();