fromJson static method

PublicKeyHash? fromJson(
  1. Map? json
)

Implementation

static PublicKeyHash? fromJson(Map? json) {
  if (json == null) {
    return null;
  }
  return PublicKeyHash(
      json['hash'], PublicKeyHashingAlgo.values.byName(json['algo']));
}