fromAmino static method

Delegation fromAmino(
  1. DelegationAminoArgs data
)

Implementation

static Delegation fromAmino(DelegationAminoArgs data) {
  return Delegation(
      data.delegation!.delegator_Address!,
      data.delegation!.validator_Address!,
      double.parse(data.delegation!.shares!),
      Coin.fromAmino(data.balance!));
}