WeightedVoteOption class
Constructors
- WeightedVoteOption(VoteOption option, double weight)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAmino(
) → WeightedVoteAminoArgs -
toData(
) → WeightedVoteDataArgs -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromAmino(
WeightedVoteAminoArgs data) → WeightedVoteOption -
fromData(
WeightedVoteDataArgs data) → WeightedVoteOption -
fromJSONWithOption(
VoteOptionJSON data) → WeightedVoteOption