VoteAccount constructor
const
VoteAccount({
- required List<
AuthorizedVoter> authorizedVoters, - required SolAddress authorizedWithdrawer,
- required int commission,
- required List<
EpochCredits> epochCredits, - required BlockTimestamp lastTimestamp,
- required SolAddress nodePubkey,
- required PriorVoters priorVoter,
- required BigInt? rootSlot,
- required List<
Lockout> votes, - 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});