getKeyPair method

KeyPair getKeyPair()

Return a copy of the key pair.

Implementation

auth.KeyPair getKeyPair() {
  return Ed25519KeyPair(_publicKey, _privateKey);
}