uuid property

String get uuid

Implementation

String get uuid {
  if (bytes.length == 2) {
    return "0000${bytes.toReverse().toHexString()}$baseUuid";
  } else if (bytes.length == 4) {
    return bytes.toReverse().toHexString() + baseUuid;
  } else {
    return Uuid.unparse(uuidData);
  }
}