easyping 1.0.1

Flutter Android iOS

This Package Allows you to easealy ping an internet address, gives back the response time in Milliseconds

easyping #

This Package Allows you to easily get the ping to an internet Address, and to get the ping in Milliseconds, Returns 0 if the destination is not available.

Getting Started #

Import the package and use the async method 'ping' to get the ping to the Address

import 'package:easy_ping/easydartping.dart';

//to get the ping just use
String address = 'google.com';
ping(address).then(pingToAddress){
  //to something...
}

// you can also use async/await
void function() async{
  String address = 'google.com';
  double pingToAddress = ping(address);
  //...
}

4
likes
100
pub points
76%
popularity

This Package Allows you to easealy ping an internet address, gives back the response time in Milliseconds

Repository (GitLab)
View/report issues

Documentation

API reference

Uploader

arnep1303@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on easyping