enum_map 0.4.0-2.dev copy "enum_map: ^0.4.0-2.dev" to clipboard
enum_map: ^0.4.0-2.dev copied to clipboard

A Map with compile-time check that every enum constant has an entry in it.

0.4.0-2.dev #

  • Relaxed the minimal meta version to 1.14.0.
  • Added pub.dev topics: collections, macros, enum.

0.4.0-1.dev #

  • BREAKING: Rewritten as macros: @MakeMap(), @MakeUnmodifiableMap().
  • The base classes EnumMap<K, V> and UnmodifiableEnumMap<K, V> changed to <K extends Enum, V>.
  • Dropped the dependency on enum_map_gen.
  • Upgraded total_lints to v3.4.0.

0.3.0 #

0.2.1 #

  • Added 'Support Chat' section to README.

0.2.0 #

  • BREAKING: Rename annotation classes from EnumMap to GenerateEnumMap, UnmodifiableEnumMap to GenerateUnmodifiableEnumMap. Constants enumMap and unmodifiableEnumMap are intact.
  • BREAKING: Added superclasses for the generated maps: EnumMap, UnmodifiableEnumMap. These require import 'package:enum_map/enum_map.dart instead of the older .../annotations.dart.

0.1.0 #

  • Initial release.
6
likes
150
pub points
49%
popularity

Publisher

verified publisherainkin.com

A Map with compile-time check that every enum constant has an entry in it.

Repository (GitHub)
View/report issues

Topics

#collections #macros #enum

Documentation

API reference

License

MIT-0 (license)

Dependencies

macro_util, macros, meta

More

Packages that depend on enum_map