Ed25519PublicKey constructor

Ed25519PublicKey(
  1. Uint8List value
)

Implementation

Ed25519PublicKey(this.value) {
  if (value.length != Ed25519PublicKey.LENGTH) {
    throw ArgumentError("Ed25519PublicKey length should be ${Ed25519PublicKey.LENGTH}");
  }
}