KeyPair constructor
KeyPair({
- VerificationKey? vk,
- SigningKey? sk,
Implementation
factory KeyPair({
VerificationKey? vk,
SigningKey? sk,
}) {
final _result = create();
if (vk != null) {
_result.vk = vk;
}
if (sk != null) {
_result.sk = sk;
}
return _result;
}