GeoLocationProvider class

IpGeoLocation fetching provider.

Constructors

GeoLocationProvider()

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

current() → Future<IpAddress>
Returns the current IpAddress detected by Config.ipEndpoint.
get(IpAddress ip, {String? language}) → Future<IpGeoLocation>
Returns the IpGeoLocation associated with the provided IpAddress.
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