api_error_parser 0.2.2 copy "api_error_parser: ^0.2.2" to clipboard
api_error_parser: ^0.2.2 copied to clipboard

Parsing responses from api and handling errors in the Dart/Flutter

0
likes
110/ 140
pub points
41%
popularity

We analyzed this package 3 days ago, and awarded it 110 pub points (of a possible 140):

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: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting api_error_parser... Discovering libraries... Linking elements... Precaching local docs for 94948 elements... Initialized dartdoc with 38 libraries Generating docs for library adapter/alternate_error_message_adapter.dart from package:api_error_parser/adapter/alternate_error_message_adapter.dart... Generating docs for library adapter/error_message_adapter.dart from package:api_error_parser/adapter/error_message_adapter.dart... Generating docs for library adapter/simple_error_message_adapter.dart from package:api_error_parser/adapter/simple_error_message_adapter.dart... Generating docs for library api_parser.dart from package:api_error_parser/api_parser.dart... Generating docs for library entity/parser_response/api_parser_response.dart from package:api_error_parser/entity/parser_response/api_parser_response.dart... [10 more lines] ERR: warning: api_error_parser has no library level documentation comments from api_error_parser: (file:///tmp/pana_KYNKUX/lib/api_parser.dart:1:9) warning: api_error_parser has no library level documentation comments from api_error_parser: (file:///tmp/pana_KYNKUX/lib/api_error_parser.dart:1:9) error: file already written at "api_error_parser/api_error_parser-library.html" for symbol api_error_parser: (file:///tmp/pana_KYNKUX/lib/api_error_parser.dart:1:9) conflicting with file already generated by api_error_parser: (file:///tmp/pana_KYNKUX/lib/api_parser.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. 'api_error_parser' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, [13 more lines]

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

Found 7 issues. Showing the first 2:

lib/adapter/alternate_error_message_adapter.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/adapter/error_message_adapter.dart doesn't match the Dart formatter.

To format your files run: dart format .

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.15.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

0
likes
110
pub points
41%
popularity

Publisher

unverified uploader

Parsing responses from api and handling errors in the Dart/Flutter

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on api_error_parser