google / google/built_value.dart
EnumClass should use List instead of Set.
Open
p2 / feature request
- Dominant language
- Dart
- Stars
- 886
- Forks
- 195
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 4
Description
Currently EnumClass holds its values in a `BuiltSet`, but although we can convert it to a list using `toList()`, `enum.values` are lists and this would reflect better the Dart API.
Using lists is useful when we want the index of a enum value.
Contributor guide
Assessment
This issue has not been assessed yet.