SchnorrIdentity.fromParsedJson constructor

SchnorrIdentity.fromParsedJson(
  1. List<String> obj
)

Implementation

factory SchnorrIdentity.fromParsedJson(List<String> obj) {
  return SchnorrIdentity(
    SchnorrPublicKey.fromRaw(blobFromHex(obj[0])),
    blobFromHex(obj[1]),
  );
}