Secp256k1KeyIdentity.fromParsedJson constructor

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

Implementation

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