PingData class
Ping response data
Constructors
- PingData({PingResponse? response, PingSummary? summary, PingError? error})
-
const
- PingData.fromJson(String source)
-
factory
-
PingData.fromMap(Map<
String, dynamic> map) -
factory
Properties
- error → PingError?
-
An error reported by the ping process
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- response → PingResponse?
-
A singly ping response from the target
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- summary → PingSummary?
-
A summary of results from previous ping responses
final
Methods
-
copyWith(
{PingResponse? response, PingSummary? summary, PingError? error}) → PingData -
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