VoterInfoResponse class

The result of a voter info lookup query.

Constructors

VoterInfoResponse({List<Contest>? contests, List<PollingLocation>? dropOffLocations, List<PollingLocation>? earlyVoteSites, Election? election, String? kind, bool? mailOnly, SimpleAddressType? normalizedInput, List<Election>? otherElections, List<PollingLocation>? pollingLocations, String? precinctId, List<Precinct>? precincts, List<AdministrationRegion>? state})
VoterInfoResponse.fromJson(Map json_)

Properties

contests List<Contest>?
Contests that will appear on the voter's ballot.
getter/setter pair
dropOffLocations List<PollingLocation>?
Locations where a voter is eligible to drop off a completed ballot.
getter/setter pair
earlyVoteSites List<PollingLocation>?
Locations where the voter is eligible to vote early, prior to election day.
getter/setter pair
election Election?
The election that was queried.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
Identifies what kind of resource this is.
getter/setter pair
mailOnly bool?
Specifies whether voters in the precinct vote only by mailing their ballots (with the possible option of dropping off their ballots as well).
getter/setter pair
normalizedInput SimpleAddressType?
The normalized version of the requested address
getter/setter pair
otherElections List<Election>?
When there are multiple elections for a voter address, the otherElections field is populated in the API response and there are two possibilities: 1.
getter/setter pair
pollingLocations List<PollingLocation>?
Locations where the voter is eligible to vote on election day.
getter/setter pair
precinctId String?
getter/setter pair
precincts List<Precinct>?
The precincts that match this voter's address.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state List<AdministrationRegion>?
Local Election Information for the state that the voter votes in.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited