RollRule class

Who may be issued a ticket (VTI-VOT-021): the community's active members (members), its active members and the parties listed names (membersAndListed), only the parties listed names (listed), or the holders of a membership credential for the one DID memberOf names (credential), proven by presentation when the holder claims their ticket and never resolved when the election is created (VTI-VOT-025). memberOf is present exactly when rule is credential, and listed is never present with it.

Constructors

RollRule({required RollRuleRule rule, List<String>? listed, String? memberOf})
const
RollRule.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
listed → List<String>?
final
memberOf → String?
The DID whose membership credential admits its holder, under the credential rule: this community, one of its groups, or a party that is itself an active member of this community — holding a membership credential this community issued it — such as another community, a group of another community, or a network (VTI-VOT-026). Always a DID, never a group's local identifier or name. A community refuses to create an election naming any other DID (vtc/elections/create:rollUntrusted).
final
rule → RollRuleRule
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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