SigningKey constructor

SigningKey({
  1. SigningKey_Ed25519Sk? ed25519,
  2. SigningKey_ExtendedEd25519Sk? extendedEd25519,
})

Implementation

factory SigningKey({
  SigningKey_Ed25519Sk? ed25519,
  SigningKey_ExtendedEd25519Sk? extendedEd25519,
}) {
  final _result = create();
  if (ed25519 != null) {
    _result.ed25519 = ed25519;
  }
  if (extendedEd25519 != null) {
    _result.extendedEd25519 = extendedEd25519;
  }
  return _result;
}