fromJSON static method

ProposalsTallyParams fromJSON(
  1. ProposalsTallyParamsJSON json
)

Implementation

static ProposalsTallyParams fromJSON(ProposalsTallyParamsJSON json) {
  return ProposalsTallyParams()
    ..quorum = double.parse(json.quorum)
    ..threshold = double.parse(json.threshold)
    ..veto_threshold = double.parse(json.veto_threshold);
}