Election class

Information about the election that was queried.

Constructors

Election({String? electionDay, String? id, String? name, String? ocdDivisionId, String? shapeLookupBehavior})
Election.fromJson(Map json_)

Properties

electionDay String?
Day of the election in YYYY-MM-DD format.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique ID of this election.
getter/setter pair
name String?
A displayable name for the election.
getter/setter pair
ocdDivisionId String?
The political division of the election.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shapeLookupBehavior String?
Possible string values are:
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