Locations class final
An abstract interface that provides location-related information for
a service. Service-specific metadata is provided through the
Location.metadata field.
Constructors
- Locations({required Client client})
-
Creates a
Locationsusingclientfor transport. - Locations.fromApiKey([String? apiKey])
-
Creates a
Locationsthat does authentication through an API key.factory
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
-
close(
) → void - Closes the client and cleans up any resources associated with it.
-
getLocation(
GetLocationRequest request) → Future< Location> - Gets information about a location.
-
listLocations(
ListLocationsRequest request) → Future< ListLocationsResponse> - Lists information about the supported locations for this service.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited