NetworkHealthMetrics class
Network health metrics data structure
Constructors
- NetworkHealthMetrics.new({required String endpoint, required int totalRequests, required int successfulRequests, required int failedRequests, required double successRate, required double averageResponseTimeMs, required double p95ResponseTimeMs, required double p99ResponseTimeMs, required int circuitBreakerOpens, required String circuitBreakerState, required DateTime lastUpdated})
Properties
- averageResponseTimeMs → double
-
final
- circuitBreakerOpens → int
-
final
- circuitBreakerState → String
-
final
- endpoint → String
-
final
- failedRequests → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastUpdated → DateTime
-
final
- p95ResponseTimeMs → double
-
final
- p99ResponseTimeMs → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- successfulRequests → int
-
final
- successRate → double
-
final
- totalRequests → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited