ElectionKey class
The election key and each trustee's public verification key, computed from the qualified dealings (CONVENTIONS §9.6). Anyone can recompute it from the board.
Constructors
-
ElectionKey({required GroupElement key, required List<
int> qualified, required List<ElectionKeyVerificationItem> verification}) -
const
-
ElectionKey.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
final
-
qualified
→ List<
int> -
The dealers whose dealings the key is formed from.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
verification
→ List<
ElectionKeyVerificationItem> -
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