TargetReport class

Detailed outcome of a connectivity check against a specific NetworkTarget.

Available extensions

Constructors

TargetReport({required String label, required bool success, required BigInt latencyMs, String? error, required bool isEssential})
const

Properties

error String?
A descriptive error message if the check failed.
final
hashCode int
The hash code for this object.
no setteroverride
isEssential bool
Whether this target was marked as essential for the overall network status.
final
label String
The unique label identifying the target.
final
latencyMs BigInt
The measured latency in milliseconds.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
Indicates whether the target was successfully reached using the specified protocol.
final

Methods

copyWith({String? label, bool? success, BigInt? latencyMs, String? error, bool? isEssential}) TargetReport

Available on TargetReport, provided by the TargetReportCopyWith extension

Creates a copy of TargetReport with the given fields replaced by the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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