dart_mappable_builder 1.2.0 icon indicating copy to clipboard operation
dart_mappable_builder: ^1.2.0 copied to clipboard

SDKDart

Improved json serialization and data classes with full support for generics, inheritance, customization and more.

1
likes
90/ 130
pub points
49%
popularity

We analyzed this package 41 hours ago, and awarded it 90 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger 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

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 1 out of 2 API elements (50.0 %) have documentation comments.
icon indicating section status
Platform support
0 / 20icon to trigger folding of the section

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:dart_mappable_builder/builder.dart that imports:
  • package:dart_mappable_builder/src/mappable_builder.dart that imports:
  • package:dart_mappable_builder/src/utils.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:dart_mappable_builder/builder.dart that imports:
  • package:dart_mappable_builder/src/mappable_builder.dart that imports:
  • package:dart_mappable_builder/src/utils.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Windows

Because:

  • package:dart_mappable_builder/builder.dart that imports:
  • package:dart_mappable_builder/src/mappable_builder.dart that imports:
  • package:dart_mappable_builder/src/utils.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Linux

Because:

  • package:dart_mappable_builder/builder.dart that imports:
  • package:dart_mappable_builder/src/mappable_builder.dart that imports:
  • package:dart_mappable_builder/src/utils.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform macOS

Because:

  • package:dart_mappable_builder/builder.dart that imports:
  • package:dart_mappable_builder/src/mappable_builder.dart that imports:
  • package:dart_mappable_builder/src/utils.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:dart_mappable_builder/builder.dart that imports:
  • package:dart_mappable_builder/src/mappable_builder.dart that imports:
  • package:dart_mappable_builder/src/utils.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/utils.dart that imports:
  • package:build/build.dart that imports:
  • package:build/src/generate/run_post_process_builder.dart that imports:
  • package:build/src/builder/post_process_builder.dart that imports:
  • package:build/src/builder/builder.dart that imports:
  • package:build/src/builder/build_step.dart that imports:
  • package:build/src/asset/reader.dart that imports:
  • package:glob/glob.dart that imports:
  • package:glob/src/list_tree.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 17 issues. Showing the first 2:

INFO: 'element' is deprecated and shouldn't be used. Check for specific DartType subtype and use element2 instead.

lib/src/builder_options.dart:152:33

    ╷
152 │     return include.any((t) => t.element == element);
    │                                 ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/builder_options.dart

INFO: 'element' is deprecated and shouldn't be used. Use element2 instead.

lib/src/config/class_mapper_target.dart:30:24

   ╷
30 │       return supertype.element;
   │                        ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/config/class_mapper_target.dart

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
analyzer>=3.0.0 <5.0.04.5.04.5.0
build^2.0.02.3.02.3.0
collection^1.15.01.16.01.16.0
dart_mappable^1.2.01.2.01.2.0
path^1.8.01.8.21.8.2
source_gen^1.2.01.2.21.2.2
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-45.0.045.0.0
args-2.3.12.3.1
async-2.9.02.9.0
convert-3.0.23.0.2
crypto-3.0.23.0.2
dart_style-2.2.32.2.3
file-6.1.26.1.2
glob-2.1.02.1.0
logging-1.0.21.0.2
meta-1.8.01.8.0
package_config-2.1.02.1.0
pub_semver-2.1.12.1.1
source_span-1.9.11.9.1
string_scanner-1.1.11.1.1
term_glyph-1.2.11.2.1
type_plus-0.6.30.6.3
typed_data-1.3.11.3.1
watcher-1.0.11.0.1
yaml-3.1.13.1.1

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.14, Dart 2.17.5.

1
likes
90
pub points
49%
popularity

Publisher

verified publisher iconschultek.de

Improved json serialization and data classes with full support for generics, inheritance, customization and more.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

analyzer, build, collection, dart_mappable, path, source_gen

More

Packages that depend on dart_mappable_builder