GeographicDivision class

Describes a political geography.

Constructors

GeographicDivision({List<String>? alsoKnownAs, String? name, List<int>? officeIndices})
GeographicDivision.fromJson(Map json_)

Properties

alsoKnownAs List<String>?
Any other valid OCD IDs that refer to the same division.\n\nBecause OCD IDs are meant to be human-readable and at least somewhat predictable, there are occasionally several identifiers for a single division.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the division.
getter/setter pair
officeIndices List<int>?
List of indices in the offices array, one for each office elected from this division.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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