validate 1.7.0 icon indicating copy to clipboard operation
validate: ^1.7.0 copied to clipboard

This class assists in validating method arguments

3
likes
70/ 140
pub points
90%
popularity

We analyzed this package 10 hours ago, and awarded it 70 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
0 / 30icon to trigger folding of the section

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.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:38:47

   ╷
38 │ <p>If this plugin is helpful for you - please <a href="http://gplus.mikemitterer.at/">(Circle)</a> me.</p>
   │                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

0/5 points: Provide a valid CHANGELOG.md

Links in `CHANGELOG.md` should be secure. 6 links are insecure.

CHANGELOG.md:3:5

  ╷
3 │ <h2><a href="http://github.com/mikemitterer/dart-validate/compare/v1.6...v1.7">v1.7</a> - 2018-08-21</h2>
  │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

  • 17 out of 53 API elements (32.1 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger 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
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 9 issues. Showing the first 2:

INFO: Use the generic function type syntax in 'typedef's.

lib/expect.dart:5:16

  ╷
5 │ typedef String LazyMessage();
  │                ^^^^^^^^^^^
  ╵

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

INFO: The variable name '_DEFAULT_IS_NULL_EX_MESSAGE' isn't a lowerCamelCase identifier.

lib/expect.dart:7:8

  ╷
7 │ String _DEFAULT_IS_NULL_EX_MESSAGE() => Validate.DEFAULT_IS_NULL_EX_MESSAGE;
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/expect.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

No dependencies.

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
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.0.0 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.27, Dart 2.19.4.

3
likes
70
pub points
90%
popularity

Publisher

unverified uploader

This class assists in validating method arguments

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.unknown (LICENSE)

More

Packages that depend on validate