parseUuid function
Implementation
Uint8List parseUuid(String uuid) {
// Unfortunately, package:uuid is to strict when parsing uuids, the example
// ids don't work
final withoutDashes = uuid.replaceAll('-', '');
final asBytes = hex.decode(withoutDashes);
return asBytes is Uint8List ? asBytes : Uint8List.fromList(asBytes);
}