dart_datasource_models 0.0.9 copy "dart_datasource_models: ^0.0.9" to clipboard
dart_datasource_models: ^0.0.9 copied to clipboard

Define all models, annotations and classes used with dart_datasource_generator.

0
likes
130/ 160
pub points
37%
popularity

We analyzed this package 4 days ago, and awarded it 130 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.

failed
Provide documentation
10 / 20trigger folding of the section

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

88 out of 98 API elements (89.8 %) have documentation comments.

Some symbols that are missing documentation: dart_datasource_models.HttpException.copyWith, dart_datasource_models.HttpException.map, dart_datasource_models.HttpException.mapOrNull, dart_datasource_models.HttpException.maybeMap, dart_datasource_models.HttpException.maybeWhen.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:dart_datasource_models/dart_datasource_models.dart that imports:
  • package:dart_datasource_models/src/http/http_client.dart that imports:
  • package:easy_dart_logger/easy_dart_logger.dart that imports:
  • package:easy_dart_logger/src/no_easy_dart_logger.dart that imports:
  • package:easy_dart_logger/src/easy_dart_logger.dart that imports:
  • package:easy_dart_logger/src/dart_logger_configuration.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 11 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/models/http_exception.freezed.dart:192:17

    ╷
192 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/models/http_exception.freezed.dart:378:17

    ╷
378 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

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
easy_dart_logger ^1.0.3+1 1.0.4+1 1.0.4+1
freezed_annotation ^2.4.1 2.4.1 2.4.1
http ^1.0.0 1.2.1 1.2.1
http_parser ^4.0.2 4.1.0 4.1.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.19.0 1.19.0
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_io - 2.2.2 2.2.2
web - 0.5.1 0.5.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

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.4.3.

Check the analysis log for details.

0
likes
130
pub points
37%
popularity

Publisher

verified publisherdevac.fr

Define all models, annotations and classes used with dart_datasource_generator.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

easy_dart_logger, freezed_annotation, http, http_parser

More

Packages that depend on dart_datasource_models