uuid method

String uuid()

Render the slugid in it's UUID string representation.

Implementation

String uuid() {
  final s = hex.encode(_bytes).substring;
  return '${s(0, 8)}-${s(8, 12)}-${s(12, 16)}-${s(16, 20)}-${s(20)}';
}