easyping 1.0.1 copy "easyping: ^1.0.1" to clipboard
easyping: ^1.0.1 copied to clipboard

discontinuedreplaced by: dart_ping

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);
  //...
}

5
likes
40
pub points
45%
popularity

Publisher

unverified uploader

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

Repository (GitLab)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on easyping