RecoveryDataKey.fromRawBytes constructor
RecoveryDataKey.fromRawBytes(
- Uint8List bytes
Load the recovery data key from its raw bytes representation
Implementation
factory RecoveryDataKey.fromRawBytes(Uint8List bytes) {
if (!byteLengthOptions.contains(bytes.length)) {
throw ArgumentError("Invalid recovery data key: decoded size should be in $byteLengthOptions bytes");
}
return RecoveryDataKey._(bytes);
}