Cast class

A ballot and the PCS attestation that admits it (VTI-VOT-030). attestation is the suite's canonical encoding of the attestation made for the election point with the ballot context bound in (CONVENTIONS §3); tag repeats its tag so a ballot box can refuse a duplicate before the pairing check.

Constructors

Cast({required Ballot ballot, required Multibase tag, required Multibase attestation})
const
Cast.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

attestation → String
final
ballot → Ballot
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag → String
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