fromData static method

Implementation

static Redelegation fromData(RedelegationDataArgs data) {
  return Redelegation(
      data.redelegation!.delegator_Address!,
      data.redelegation!.validator_Src_Address!,
      data.redelegation!.validator_Dst_Address!,
      data.entries!.map((e) => Entry.fromData(e)).toList());
}