fromJSON static method

ValidatorDescription fromJSON(
  1. ValidatorDescriptionJSON data
)

Implementation

static ValidatorDescription fromJSON(ValidatorDescriptionJSON data) {
  return ValidatorDescription(data.moniker, data.identity, data.website,
      data.details, data.security_contact);
}