keyFromHexString method
Implementation
Uint8List keyFromHexString() {
final cleaned = this.replaceAll("-", "");
if (cleaned.length % 2 != 0) {
throw FormatException('Must have an even length');
}
return cleaned.fromHexString();
}
Uint8List keyFromHexString() {
final cleaned = this.replaceAll("-", "");
if (cleaned.length % 2 != 0) {
throw FormatException('Must have an even length');
}
return cleaned.fromHexString();
}