Sr25519PublicKey.fromBytes constructor

Sr25519PublicKey.fromBytes(
  1. List<int> keyBytes
)

Factory method for creating an Sr25519PublicKey from a byte array.

Implementation

factory Sr25519PublicKey.fromBytes(List<int> keyBytes) {
  return Sr25519PublicKey._(SchnorrkelPublicKey(keyBytes));
}