ReadinessScoreInput class
Top-level input bundle. Recovery score is required; everything else is optional and improves confidence when present.
Constructors
- ReadinessScoreInput({required int recoveryScore, double? recoveryConfidence, AcuteWorkloadContext? acuteWorkload, FatigueContext? fatigue, HistoryContext? history})
-
const
- ReadinessScoreInput.fromRecovery(int recoveryScore)
-
Build an input from only the recovery score; downstream context
stays empty. Useful while a host is still wiring fatigue / load.
factory
Properties
- acuteWorkload → AcuteWorkloadContext?
-
final
- fatigue → FatigueContext?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- history → HistoryContext?
-
final
- recoveryConfidence → double?
-
final
- recoveryScore → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toJsonString(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited