enum_map_gen 0.3.1
enum_map_gen: ^0.3.1 copied to clipboard
A generator for enum_map package, a Map with compile-time check that every enum value has an entry in it.
0.3.1 #
- Using https://pub.flutter-io.cn/packages/source_gen_test for testing generated code.
0.3.0 #
- BREAKING: Unsupported operations throw
UnsupportedError
instead ofException
. - BREAKING: Unmodifiable map's
putIfAbsent
throwsUnsupportedError
instead of returning an always-existing value. - Added golden tests for generation result.
- Added tests on goldens.
- Fixed linter issues on output.
0.2.0 #
- Require
enum_map
0.2.0, see its changelog.
0.1.0 #
- Initial release.