dart_ping
dart_ping copied to clipboard
Bug ttl on IOS
You forgot to throw ttl in the constructor, you can add and make a release! Thank you very much in advance.
file dart_ping_ios.dart
static DartPingIOS _init(
String host,
int? count,
int interval,
int timeout,
int ttl,
bool ipv6,
PingParser? parser,
Encoding encoding,
) {
return DartPingIOS(fp.Ping(
host,
count: count,
interval: interval.toDouble(),
timeout: timeout.toDouble(),
ipv6: ipv6,
));
}