PingResponse class
Each probe response
Constructors
- PingResponse({int? seq, int? ttl, Duration? time, String? ip})
-
const
- PingResponse.fromJson(String source)
-
factory
-
PingResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- ip → String?
-
IP Address of the target
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seq → int?
-
Transmission sequence position identifier
(can be used to reconstruct packet order)
final
- time → Duration?
-
Time it took for the packet to make a round trip
final
- ttl → int?
-
Time-to-live
Number of hops a packet will traverse in its way to a target
Once a packet exceeds the ttl, it is dropped and will not return
final
Methods
-
copyWith(
{int? seq, int? ttl, Duration? time, String? ip}) → PingResponse -
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