fromJSON static method

UnbondingDelegation fromJSON(
  1. UnbondingDelegationDataJSON data
)

Implementation

static UnbondingDelegation fromJSON(UnbondingDelegationDataJSON data) {
  return UnbondingDelegation(data.delegator_address, data.validator_address,
      data.entries.map((e) => UnbondingDelegationEntry.fromJSON(e)).toList());
}