toPublicKey method

Future<SimplePublicKey> toPublicKey()

Implementation

Future<SimplePublicKey> toPublicKey() async {
  return SimplePublicKey(
    rawBytes,
    type: KeyPairType.ed25519,
  );
}