PubKeySet.deserialize constructor

PubKeySet.deserialize(
  1. List<int> bytes
)

Implementation

factory PubKeySet.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return PubKeySet(
    secp256k1: decode.getString<String?>(1),
    ed25519: decode.getString<String?>(2),
  );
}