RecoveryScoreInput class
Top-level input bundle for the Recovery Score scorer.
Constructors
-
RecoveryScoreInput({required NightSummary tonight, List<
NightSummary> priors = const [], required OvernightPhysiology overnight, List<OvernightPhysiology> priorsOvernight = const [], BaselineRefs? baselines, StrainContext? strain}) -
const
Properties
- baselines → BaselineRefs?
-
Optional stage-3 personal baselines.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- overnight → OvernightPhysiology
-
Tonight's overnight physiology.
final
-
priors
→ List<
NightSummary> -
Prior nights' sleep summaries, newest at the back.
final
-
priorsOvernight
→ List<
OvernightPhysiology> -
Per-night physiology aligned 1-to-1 with priors.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strain → StrainContext?
-
Optional strain context.
final
- tonight → NightSummary
-
Sleep summary for the most recent night.
final
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