Precinct class

Constructors

Precinct({String? administrationRegionId, List<String>? contestId, String? datasetId, List<String>? earlyVoteSiteId, List<String>? electoralDistrictId, String? id, bool? mailOnly, String? name, String? number, List<String>? ocdId, List<String>? pollingLocationId, List<String>? spatialBoundaryId, String? splitName, String? ward})
Precinct.fromJson(Map json_)

Properties

administrationRegionId String?
ID of the AdministrationRegion message for this precinct.
getter/setter pair
contestId List<String>?
ID(s) of the Contest message(s) for this precinct.
getter/setter pair
datasetId String?
Dataset ID.
getter/setter pair
earlyVoteSiteId List<String>?
ID(s) of the PollingLocation message(s) for this precinct.
getter/setter pair
electoralDistrictId List<String>?
ID(s) of the ElectoralDistrict message(s) for this precinct.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
A unique identifier for this precinct.
getter/setter pair
mailOnly bool?
Specifies if the precinct runs mail-only elections.
getter/setter pair
name String?
The name of the precinct.
getter/setter pair
number String?
The number of the precinct.
getter/setter pair
ocdId List<String>?
Encouraged.
getter/setter pair
pollingLocationId List<String>?
ID(s) of the PollingLocation message(s) for this precinct.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spatialBoundaryId List<String>?
ID(s) of the SpatialBoundary message(s) for this precinct.
getter/setter pair
splitName String?
If present, this proto corresponds to one portion of split precinct.
getter/setter pair
ward String?
Specifies the ward the precinct is contained within.
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