poly_registry 1.0.0 copy "poly_registry: ^1.0.0" to clipboard
poly_registry: ^1.0.0 copied to clipboard

A type-safe polymorphic registry for Dart. Look up objects by key or Dart type, and convert polymorphic MAP using registered converters — without code generation or switch statements.

150/ 160
pub points
187
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

45 out of 55 API elements (81.8 %) have documentation comments.

Some symbols that are missing documentation: poly_registry, poly_registry.BaseMapConverter.BaseMapConverter.new, poly_registry.ConverterRegistry.ConverterRegistry.new, poly_registry.DuplicateKeyException.DuplicateKeyException.new, poly_registry.MapConverterRegistry.MapConverterRegistry.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

No dependencies.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.11, Dart 3.11.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
150
points
187
downloads

Documentation

API reference

Publisher

verified publisherastonio.com

Weekly Downloads

A type-safe polymorphic registry for Dart. Look up objects by key or Dart type, and convert polymorphic MAP using registered converters — without code generation or switch statements.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on poly_registry