newSecretKeyFromBytes method

  1. @override
Future<SecretKey> newSecretKeyFromBytes(
  1. List<int> bytes
)
override

Constructs a new SecretKey from the bytes.

Throws ArgumentError if the argument length is not secretKeyLength.

Implementation

@override
Future<SecretKey> newSecretKeyFromBytes(List<int> bytes) {
  return fallback.newSecretKeyFromBytes(bytes);
}