typeid 1.0.1 typeid: ^1.0.1 copied to clipboard
A spec conformant implementation of the TypeID standard. TypeIDs are K-sortable, globally unique identifier inspired by Stripe IDs
import 'package:typeid/typeid.dart';
void main() {
final id = TypeId.generate('user');
print(id);
final decoded = TypeId.decode(id);
print(decoded.prefix);
print(decoded.suffix);
print(decoded.uuid.version);
}