UUID type for Dart 2
This package provides implementation of Universally Unique Identifier (UUID) for Dart, and supports generation, parsing and formatting of UUIDs.
xCreates UUID from string and byte-array, as well as GUID and URN strings
xProvides access to variant, version and byte data of UUID
xGenerates RFC4122 time-based v1, random-based v4, and namespace & name-based v5 UUIDs
Comparablefor UUID comparison and lexicographical sorting
xRuns on Dart VM and in browser
RFC 4122 Version support:
xv1, based on timestamp and MAC address (RFC 4122)
xv4, based on random numbers (RFC 4122)
xv5, based on SHA-1 hashing (RFC 4122)
- Dart 2 (tested with >=2.0.0). Should also work with Dart 1.24, but not tested.
cryptopackage to generate name based UUIDs
- Add an entry in your
dependencies: uuid_type: ^1.0.0
flutter packages getfor Flutter)
Features and Bugs
Please file bugs and feature requests at the issue tracker.