KeyPair constructor

KeyPair({
  1. required PublicKey? publicKey,
  2. required PrivateKey? privateKey,
})

Creates a KeyPair from a public and private key

Implementation

KeyPair({required this.publicKey, required this.privateKey});