PingSummary class

Summary of the results

Constructors

PingSummary({required int transmitted, required int received, Duration? time, List<PingError>? errors})
PingSummary.fromJson(String source)
factory
PingSummary.fromMap(Map<String, dynamic> map)
factory

Properties

errors List<PingError>
All errors that occurred during the ping process
latefinal
hashCode int
The hash code for this object.
no setteroverride
received int
Number of packets returned to the source from the target
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time Duration?
Total time spent for all sent/received packets to complete a round trip (summed)
final
transmitted int
Number of icmp packets sent to the target
final

Methods

copyWith({int? transmitted, int? received, Duration? time, List<PingError>? errors}) PingSummary
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override