P256PublicKey.from constructor

P256PublicKey.from(
  1. PublicKey key
)

Implementation

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