minted_identifiers 1.0.0 copy "minted_identifiers: ^1.0.0" to clipboard
minted_identifiers: ^1.0.0 copied to clipboard

Well-modelled Dart value types for standard identifiers: UUID, ISBN, ISSN, ISNI, IMEI and GTIN, check digits included. Part of the minted family.

minted_identifiers #

Standardised identifiers as well-modelled value types.

Part of the minted family: pure-Dart value types built on parse, don't validate, so anything that came through the parser is well-formed by construction.

Holds Uuid, Isbn, Issn, Isni, Imei, Gtin.

Every value it hands you is well-formed by construction: build one through parse, which returns a ParseOutcome carrying either the value or a typed failure, or tryParse, which returns null. No door throws.

The shared vocabulary (ParseOutcome, MintedFailure, Digit, Digits, the Uint tower) comes from minted, which this package depends on. Take only the domains you use: nothing here drags in another domain's engine.

0
likes
0
points
101
downloads

Publisher

unverified uploader

Weekly Downloads

Well-modelled Dart value types for standard identifiers: UUID, ISBN, ISSN, ISNI, IMEI and GTIN, check digits included. Part of the minted family.

Homepage
Repository (GitHub)
View/report issues

Topics

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

License

unknown (license)

Dependencies

collection, meta, minted

More

Packages that depend on minted_identifiers