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.

6
likes
150/ 160
pub points
64%
popularity

We analyzed this package 2 days ago, and awarded it 150 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT-0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

8 out of 15 API elements (53.3 %) have documentation comments.

Some symbols that are missing documentation: enum_map, enum_map.GenerateEnumMap, enum_map.GenerateUnmodifiableEnumMap, enum_map.MakeMap.buildDeclarationsForClass, enum_map.MakeMap.buildTypesForClass.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

  • Running dart format failed:
Formatted 7 files (0 changed) in 0.52 seconds.
Could not format because the source could not be parsed:

line 405, column 1 of ../../pana_XNNKFU/lib/src/macros.dart: This requires the 'macros' language feature to be enabled.
    ╷
405 │ macro class MakeMap extends _MakeMapBase {
    │ ^^^^^
    ╵
line 550, column 1 of ../../pana_XNNKFU/lib/src/macros.dart: This requires the 'macros' language feature to be enabled.
    ╷```
OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
macro_util ^0.1.0-9.dev 0.1.0-10.dev 0.1.0-10.dev
macros ^0.1.0-main.5 0.1.0-main.5 0.1.2-main.4
meta ^1.14.0 1.15.0 1.15.0
Transitive dependencies
Package Constraint Compatible Latest
_macros - 0.1.5 0.1.5

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.7, Dart 3.5.0-180.3.beta.

Check the analysis log for details.

6
likes
150
pub points
64%
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