PubKeySet.fromJson constructor

PubKeySet.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PubKeySet.fromJson(Map<String, dynamic> json) {
  return PubKeySet(
    secp256k1: json.valueAsString<String?>(
      'secp256k1',
      acceptCamelCase: true,
    ),
    ed25519: json.valueAsString<String?>('ed25519', acceptCamelCase: true),
  );
}