RepresentativesResource class
Constructors
- RepresentativesResource(ApiRequester client)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
representativeInfoByAddress(
{String? address, bool? includeOffices, List< String> ? levels, List<String> ? roles, String? $fields}) → Future<RepresentativeInfoResponse> - Looks up political geography and representative information for a single address.
-
representativeInfoByDivision(
String ocdId, {List< String> ? levels, bool? recursive, List<String> ? roles, String? $fields}) → Future<RepresentativeInfoData> - Looks up representative information for a single geographic division.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited