ElectionSummary class
A ballot box's view of one election.
Constructors
- ElectionSummary({required ElectionId electionId, required String community, required DigestMultibase manifestDigest, required ElectionState state, required int ballotsAdmitted, required BoardHead head})
-
const
-
ElectionSummary.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- ballotsAdmitted → int
-
Distinct tags with a counted ballot.
final
- community → String
-
final
- electionId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- head → BoardHead
-
final
- manifestDigest → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → ElectionState
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited