parseAsByteList static method
Parses the provided uuid into a list of byte values as a Uint8List.
Can optionally be provided a buffer to write into and
a positional offset for where to start inputting into the buffer.
Throws FormatException if the UUID is invalid. Optionally you can set
validate to false to disable validation of the UUID before parsing.
Implementation
static Uint8List parseAsByteList(String uuid,
{List<int>? buffer,
int offset = 0,
bool validate = true,
ValidationMode validationMode = ValidationMode.strictRFC4122,
bool noDashes = false}) {
return Uint8List.fromList(parse(uuid,
buffer: buffer,
offset: offset,
validate: validate,
validationMode: validationMode,
noDashes: noDashes));
}