RepresentativeInfoResponse class

The result of a representative info lookup query.

Constructors

RepresentativeInfoResponse({Map<String, GeographicDivision>? divisions, String? kind, SimpleAddressType? normalizedInput, List<Office>? offices, List<Official>? officials})
RepresentativeInfoResponse.fromJson(Map json_)

Properties

divisions Map<String, GeographicDivision>?
A map of political geographic divisions that contain the requested address, keyed by the unique Open Civic Data identifier for this division.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
Identifies what kind of resource this is.
getter/setter pair
normalizedInput SimpleAddressType?
The normalized version of the requested address
getter/setter pair
offices List<Office>?
Elected offices referenced by the divisions listed above.
getter/setter pair
officials List<Official>?
Officials holding the offices listed above.
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