fromJSON static method

UnbondingDelegationEntry fromJSON(
  1. UnbondingDelegationEntryValueCommonArgsJSON data
)

Implementation

static UnbondingDelegationEntry fromJSON(
    UnbondingDelegationEntryValueCommonArgsJSON data) {
  return UnbondingDelegationEntry(
      int.parse(data.initial_balance),
      int.parse(data.balance),
      double.parse(data.creation_height),
      data.completion_time);
}