minted_contact 1.0.1 copy "minted_contact: ^1.0.1" to clipboard
minted_contact: ^1.0.1 copied to clipboard

Well-modelled Dart value types for contact details: Email and PhoneNumber, checked against the real standards rather than a regex. Part of the minted family.

90/ 160
pub points
141
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

27 out of 30 API elements (90.0 %) have documentation comments.

Some symbols that are missing documentation: minted_contact.Email.value, minted_contact.PhoneNumber.value, minted_contact.PhoneNumberType.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

ERROR: Undefined class 'Digits'.

lib/src/phone_number.dart:21:14

   ╷
21 │     required Digits nationalNumber,
   │              ^^^^^^
   ╵

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

ERROR: Undefined class 'Digits'.

lib/src/phone_number.dart:61:3

   ╷
61 │   Digits get nationalNumber => Digits.tryFrom(decimalValues(_parsed.nsn))!;
   │   ^^^^^^
   ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
collection ^1.19.1 1.19.1 1.19.1
email_validator ^3.0.0 3.0.0 3.0.0
minted ^3.0.0 3.1.0 3.1.0
minted_network ^1.0.0 1.1.0 1.1.0
phone_numbers_parser ^9.0.25 9.0.25 9.0.25
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
ipaddr - 2.1.1 2.1.1
meta - 1.19.0 1.19.0
minted_constraints - 1.1.0 1.1.0

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.18, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
141
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Well-modelled Dart value types for contact details: Email and PhoneNumber, checked against the real standards rather than a regex. Part of the minted family.

Homepage
Repository (GitHub)
View/report issues

Topics

#validation #type-safety #email #domain-driven-design #standards

License

BSD-3-Clause (license)

Dependencies

collection, email_validator, minted, minted_network, phone_numbers_parser

More

Packages that depend on minted_contact