bytes property
In-memory bytes of the secret key.
If the key has been destroyed with destroy, this throws StateError.
Implementation
List<int> get bytes {
final bytes = _bytes;
if (bytes.hasBeenDestroyed) {
throw StateError('Secret key has been destroyed: $this');
}
return bytes;
}