EndpointLocation class
Specifies geographic information about an endpoint.
Constructors
- EndpointLocation({String? city, String? country, double? latitude, double? longitude, String? postalCode, String? region})
-
EndpointLocation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- city → String?
-
The name of the city where the endpoint is located.
final
- country → String?
-
The two-character code, in ISO 3166-1 alpha-2 format, for the country or
region where the endpoint is located. For example, US for the United States.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude → double?
-
The latitude coordinate of the endpoint location, rounded to one decimal
place.
final
- longitude → double?
-
The longitude coordinate of the endpoint location, rounded to one decimal
place.
final
- postalCode → String?
-
The postal or ZIP code for the area where the endpoint is located.
final
- region → String?
-
The name of the region where the endpoint is located. For locations in the
United States, this value is the name of a state.
final
- 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