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

A spec conformant implementation of the TypeID standard.

example/typeid_example.dart

import 'package:typeid/src/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);
}
3
likes
150
pub points
43%
popularity

Publisher

verified publishertbd.website

A spec conformant implementation of the TypeID standard.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

uuid

More

Packages that depend on typeid