UUID type for Dart 2
Not yet tested for production use!
This package provides implementation of Universally Unique Identifier (UUID). Supported both creation and parsing of UUIDs.
xCreates UUID from string and byte-array representations
xProvides access to variant, version and byte representation of UUID
xGenerates RFC4122 version 4 UUIDs
xGenerates RFC4122 version 5 UUIDs (SHA-1 only)
Comparablefor UUID comparison and lexicographical sorting
==operator for usage as
xRuns on Dart VM and in browser
UUID Version support:
xv4, based on random numbers (RFC 4122)
xv5, based on SHA-1 hashing (RFC 4122)
- Dart 2 (tested with >=2.0.0-dev.50.0). Should also work with Dart 1.24, but not tested.
- Add an entry in your
dependencies: uuid_type: ^0.6.0