Ed25519PublicKey.from constructor

Ed25519PublicKey.from(
  1. PublicKey key
)

Implementation

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