IpGeoLocation class
Geographical location information regarding certain IpAddress.
- Annotations
Constructors
- IpGeoLocation({required String country, required String countryCode, required String city})
-
const
-
IpGeoLocation.fromJson(Map<
String, dynamic> json) -
Constructs an IpGeoLocation from the provided
json
.factory
Properties
- city → String
-
Localized name of the city.
final
- country → String
-
Localized name of the country.
final
- countryCode → String
-
Country code.
final
- 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
-
toJson(
) → Map< String, dynamic> - Returns a Map representing this IpGeoLocation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited