VoteAccountInfo constructor

const VoteAccountInfo({
  1. required SolAddress votePubkey,
  2. required SolAddress nodePubkey,
  3. required int activatedStake,
  4. required bool epochVoteAccount,
  5. required List<List<int>> epochCredits,
  6. required int commission,
  7. required int lastVote,
})

Implementation

const VoteAccountInfo(
    {required this.votePubkey,
    required this.nodePubkey,
    required this.activatedStake,
    required this.epochVoteAccount,
    required this.epochCredits,
    required this.commission,
    required this.lastVote});