toData method

Implementation

ValidatorDataArgs toData() {
  return ValidatorDataArgs()
    ..description = description.toData()
    ..commission = commission.toData()
    ..consensus_pubkey = consensus_pubkey.toData()
    ..delegator_shares = delegator_shares.toString()
    ..jailed = jailed
    ..min_Self_Delegation = min_self_delegation.toString()
    ..operator_Address = operator_address
    ..status = status
    ..tokens = tokens.toString()
    ..unbonding_Height = unbonding_height.toString()
    ..unbonding_Time = unbonding_time.toString();
}