VoteAccount class 
 
    
  
Vote Account
    
    
  
    Constructors
    
        - 
          VoteAccount({required Pubkey votePubkey, required Pubkey nodePubkey, required u64 activatedStake, required bool epochVoteAccount, required int commission, required u64 lastVote, required List<List<int>> epochCredits})
        
- 
          Account info and associated stake of a voting account.
            const 
- 
          VoteAccount.fromJson(Map<String, dynamic> json)
        
- 
          Creates an instance of thisclass from the constructor parameters defined in thejsonobject.factory 
 
    
  
    Properties
    
        - 
  activatedStake
  → u64
  
- 
  The stake, in lamports, delegated to this vote account and active in this epoch.
  final 
- 
  commission
  → int
  
- 
  The percentage (0-100) of rewards payout owed to the vote account.
  final 
- 
  epochCredits
  → List<List<int>>
  
- 
  The history of how many credits earned by the end of each epoch, as an array of arrays
containing: (epoch, credits, previousCredits).
  final 
- 
  epochVoteAccount
  → bool
  
- 
  Whether the vote account is staked for this epoch.
  final 
- 
  hashCode
  → int
  
- 
  The hash code for this object.
  no setterinherited 
- 
  lastVote
  → u64
  
- 
  The most recent slot voted on by this vote account.
  final 
- 
  nodePubkey
  → Pubkey
  
- 
  The validator identity.
  final 
- 
  runtimeType
  → Type
  
- 
  A representation of the runtime type of the object.
  no setterinherited 
- 
  votePubkey
  → Pubkey
  
- 
  The vote account address.
  final 
 
    
  
    Methods
    
        - 
  noSuchMethod(Invocation invocation)
    → dynamic
  
  
- 
  Invoked when a nonexistent method or property is accessed.
  inherited 
- 
  toJson()
    → Map<String, dynamic>
  
  
- 
  Serialises thisclass into a JSON object.override 
- 
  toString()
    → String
  
  
- 
  A string representation of this object.
  inherited 
 
    
  
    
    
  
    Static Methods
    
        - 
  tryFromJson(Map<String, dynamic>? json)
    → VoteAccount?
  
  
- 
  Creates an instance of thisclass from the constructor parameters defined in thejsonobject.override