RpcSbpVoteDetail class

Annotations
  • @freezed

Constructors

RpcSbpVoteDetail({required String blockProducerName, required RpcBigInt totalVotes, required ViteAddress blockProducingAddress, @Default([]) List<ViteAddress> historyProducingAddresses, @Default({}) Map<ViteAddress, RpcBigInt> addressVoteMap})
const
factory
RpcSbpVoteDetail.fromJson(Map<String, dynamic> json)
factory

Properties

addressVoteMap Map<String, String>
no setterinherited
blockProducerName String
no setterinherited
blockProducingAddress String
no setterinherited
copyWith → $RpcSbpVoteDetailCopyWith<RpcSbpVoteDetail>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
historyProducingAddresses List<String>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalVotes String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited