enum_map_gen 0.3.1 copy "enum_map_gen: ^0.3.1" to clipboard
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 of Exception.
  • BREAKING: Unmodifiable map's putIfAbsent throws UnsupportedError 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.
3
likes
120
points
190
downloads

Publisher

verified publisherainkin.com

Weekly Downloads

A generator for enum_map package, a Map with compile-time check that every enum value has an entry in it.

Documentation

API reference

License

MIT-0 (license)

Dependencies

analyzer, build, enum_map, meta, source_gen

More

Packages that depend on enum_map_gen