toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final contests = this.contests;
final dropOffLocations = this.dropOffLocations;
final earlyVoteSites = this.earlyVoteSites;
final election = this.election;
final kind = this.kind;
final mailOnly = this.mailOnly;
final normalizedInput = this.normalizedInput;
final otherElections = this.otherElections;
final pollingLocations = this.pollingLocations;
final precinctId = this.precinctId;
final precincts = this.precincts;
final state = this.state;
return {
'contests': ?contests,
'dropOffLocations': ?dropOffLocations,
'earlyVoteSites': ?earlyVoteSites,
'election': ?election,
'kind': ?kind,
'mailOnly': ?mailOnly,
'normalizedInput': ?normalizedInput,
'otherElections': ?otherElections,
'pollingLocations': ?pollingLocations,
'precinctId': ?precinctId,
'precincts': ?precincts,
'state': ?state,
};
}