VoterInfoResponse class Null safety

The result of a voter info lookup query.


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<AdministrationRegion>? state})
VoterInfoResponse.fromJson(Map _json)


contests List<Contest>?
Contests that will appear on the voter's ballot.
read / write
dropOffLocations List<PollingLocation>?
Locations where a voter is eligible to drop off a completed ballot. [...]
read / write
earlyVoteSites List<PollingLocation>?
Locations where the voter is eligible to vote early, prior to election day.
read / write
election Election?
The election that was queried.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
kind String?
Identifies what kind of resource this is. [...]
read / write
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).
read / write
normalizedInput SimpleAddressType?
The normalized version of the requested address
read / write
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. [...]
read / write
pollingLocations List<PollingLocation>?
Locations where the voter is eligible to vote on election day.
read / write
precinctId String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state List<AdministrationRegion>?
Local Election Information for the state that the voter votes in. [...]
read / write


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


operator ==(Object other) bool
The equality operator. [...]