ipwhois 1.1.0
ipwhois: ^1.1.0 copied to clipboard
A Dart package for retrieving some information about IP that is connected to the internet. such as city & country name, continent code, latitude and longitude, IP v4 or v6.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ipwhoisWith Flutter:
$ flutter pub add ipwhoisThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ipwhois: ^1.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ipwhois/ipwhois.dart';