ElectionsResource class
Constructors
- ElectionsResource(ApiRequester client)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
electionQuery(
{bool? productionDataOnly, String? $fields}) → Future< ElectionsQueryResponse> - List of available elections to query.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
voterInfoQuery(
{String? address, String? electionId, bool? officialOnly, bool? productionDataOnly, bool? returnAllAvailableData, String? $fields}) → Future< VoterInfoResponse> - Looks up information relevant to a voter based on the voter's registered address.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited