toAmino method

Implementation

DelegationAminoArgs toAmino() {
  var delegation = DelegationValueAminoArgs()
    ..delegator_Address = delegator_address
    ..validator_Address = validator_address
    ..shares = shares.toString();

  return DelegationAminoArgs()
    ..delegation = delegation
    ..balance = balance.toAmino();
}