VoteAccount constructor

const VoteAccount({
  1. required List<AuthorizedVoter> authorizedVoters,
  2. required SolAddress authorizedWithdrawer,
  3. required int commission,
  4. required List<EpochCredits> epochCredits,
  5. required BlockTimestamp lastTimestamp,
  6. required SolAddress nodePubkey,
  7. required PriorVoters priorVoter,
  8. required BigInt? rootSlot,
  9. required List<Lockout> votes,
  10. required int version,
})

Implementation

const VoteAccount(
    {required this.authorizedVoters,
    required this.authorizedWithdrawer,
    required this.commission,
    required this.epochCredits,
    required this.lastTimestamp,
    required this.nodePubkey,
    required this.priorVoter,
    required this.rootSlot,
    required this.votes,
    required this.version});