TargetReport class

Detailed outcome of a connectivity check against a specific target.

Each configured target (e.g., Google DNS, Cloudflare) generates its own TargetReport during a check cycle.

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 provided by the engine if the check failed.
final
hashCode int
The hash code for this object.
no setteroverride
isEssential bool
Indicates if this target is critical for the overall "Connected" status.
final
label String
The unique label identifying the target (e.g., "Primary API Gateway").
final
latencyMs BigInt
The measured latency in milliseconds for the fastest successful sample.
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

Returns a copy of the report for a specific target.
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