from static method

Implementation

static Ed25519PublicKey from(auth.PublicKey key) {
  return Ed25519PublicKey.fromDer(key.toDer());
}