GeoInfoUtil class
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
-
dispose()
→ void
-
Close the underlying HTTP client if it was created internally.
Safe to call multiple times. No-op if the client was injected.
override
-
fetchGeoInfo(Uri url)
→ Future<Map<String, dynamic>>
-
override
-
fetchIpCountryCode()
→ Future<String>
-
Returns 2-letter IP-based country code, or empty string if unavailable.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited