public_ip 0.1.0 public_ip: ^0.1.0 copied to clipboard
Get public ip, location and other details.
Used to get the public ip address of the user and to determine his approx location
Features #
->User IP address #
->ASN #
->ISP #
->Services #
->Country #
->State #
->City #
->Longitude #
->Latitude #
Getting started #
import 'package:public_ip/public_ip.dart' as publicIP;
Usage #
print(await publicIP.getPublicIp());
print(await publicIP.getASN());
print(await publicIP.getISP());
print(await publicIP.getCountry());
print(await publicIP.getState());
print(await publicIP.getLatitude());
For any queries or suggestions #
Contact: heyom7@gmail.com