AuthenticationKey constructor

AuthenticationKey(
  1. Uint8List bytes
)

Implementation

AuthenticationKey(this.bytes) {
  if (bytes.length != AuthenticationKey.LENGTH) {
    throw ArgumentError("Expected a byte array of length 32");
  }
}