Disclosure class
The statement a community publishes, and shows a member before they request a ticket, about how one election is run (VTI-VOT-090). Generated from the election's manifest and the community's configuration, never written by hand.
Constructors
-
Disclosure({required String ballotBox, required String ballotBoxOperator, required bool sameOperator, Trustees? trustees, required BoardVisibility boardVisibility, required List<
DigestMultibase> auditors, required Revote revote, required Object? coercionResistance}) -
const
-
Disclosure.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
-
auditors
→ List<
DigestMultibase> -
final
- ballotBox → String
-
The ballot box's DID.
final
- ballotBoxOperator → String
-
Who operates the ballot box, as the community names them.
final
- boardVisibility → BoardVisibility
-
final
- coercionResistance → Object?
-
Always false: a voter can prove how they voted, so the community cannot protect a
member against being made to vote a certain way.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- revote → Revote
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sameOperator → bool
-
Whether the party operating the community's VTC also operates the ballot box.
final
- trustees → Trustees?
-
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