BoardHead class

A board's tree head (RFC 9162 §2.1). A head is signed by being carried in a document the ballot box signs; whoever keeps a head keeps that whole document.

Constructors

BoardHead({required ElectionId electionId, required int treeSize, required DigestMultibase rootHash, required String issuedAt})
const
BoardHead.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

electionId → String
final
hashCode → int
The hash code for this object.
no setterinherited
issuedAt → String
final
rootHash → String
The RFC 9162 Merkle tree hash (SHA-256) of the first treeSize entries, as a multihash.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
treeSize → int
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