Signature constructor
Signature({
- required Uint8List bytes,
Implementation
Signature({required Uint8List bytes}) {
if (bytes.length != ED25519_SIG_SIZE) {
throw AlgorandException(message: 'Given signature length is not valid');
}
_bytes = Uint8List.fromList(bytes);
}