values property
The enum values of type T
encoded as a String
.
- Entries are copied verbatim to the getter.
- The number of entries must match the number of enum instances.
- Values of type
String
must be enclosed with escaped quotation marks! - Examples:
- Integer: {'0', '1', '2',}
- String: {'\'zero\'', '\'one\'', '\'two\'',}
- class A: {'const A(3.0)', 'const A(4.0)',}
Implementation
final Set<String> values;