auth_params 1.0.0+1

Dart native js
Flutter Android iOS web

Parser for auth-param syntax from RFC7235.

0
likes
90 / 110
pub points
9 %
popularity

We analyzed this package on Sep 22, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/auth_params_example.dart

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

  • 2 out of 10 API elements (20.0 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

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

INFO: Use isEmpty instead of length

lib/auth_params.dart:37:17

   ╷
37 │             if (tempName.length == 0) throw "Bad auth-param format: empty name";
   │                 ^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/auth_params.dart

INFO: Unnecessary new keyword.

lib/auth_params.dart:83:20

   ╷
83 │ final authParams = new AuthParams();
   │                    ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/auth_params.dart

Support up-to-date dependencies
20 / 20

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

No dependencies.

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

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

0
likes
90
pub points
9%
popularity

Parser for auth-param syntax from RFC7235.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

cretezy@gmail.com

License

MIT (LICENSE)

More

Packages that depend on auth_params