Office class

Information about an Office held by one or more Officials.

Constructors

Office({String? divisionId, List<String>? levels, String? name, List<int>? officialIndices, List<String>? roles, List<Source>? sources})
Office.fromJson(Map json_)

Properties

divisionId String?
The OCD ID of the division with which this office is associated.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
levels List<String>?
The levels of government of which this office is part.
getter/setter pair
name String?
The human-readable name of the office.
getter/setter pair
officialIndices List<int>?
List of indices in the officials array of people who presently hold this office.
getter/setter pair
roles List<String>?
The roles which this office fulfills.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sources List<Source>?
A list of sources for this office.
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