IPGeolocation class
This class performs the lookup of geolocation data from an IP address by querying the IP2Location.io API.
Constructors
- IPGeolocation.new(Configuration _configuration)
- Creates a new IPGeolocation.
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
-
lookUp(
String ip, [String language = '']) → Future< Map< String, dynamic> > - Query IP2Location.io geolocation data with an IP address.
-
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