VoteSummary class
Properties of an individual vote that a member cast for a proposal.
Applies only to Hyperledger Fabric.
Constructors
- VoteSummary({String? memberId, String? memberName, VoteValue? vote})
-
VoteSummary.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- memberId → String?
-
The unique identifier of the member that cast the vote.
final
- memberName → String?
-
The name of the member that cast the vote.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vote → VoteValue?
-
The vote value, either
YES
orNO
.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited