string128 property
String
get
string128
Implementation
String get string128 => switch (bytes.length) {
2 => '0000${bytes.toHexString()}-0000-1000-8000-00805f9b34fb'.toLowerCase(),
4 => '${bytes.toHexString()}-0000-1000-8000-00805f9b34fb'.toLowerCase(),
_ =>
"${bytes.sublist(0, 4).toHexString()}-"
"${bytes.sublist(4, 6).toHexString()}-"
"${bytes.sublist(6, 8).toHexString()}-"
"${bytes.sublist(8, 10).toHexString()}-"
"${bytes.sublist(10, 16).toHexString()}"
.toLowerCase(),
};