HrvSample class

One HRV sample at a point in time. Mirrors the runtime's HrvSample struct.

kind declares the aggregation level so the engine can apply the right math. Defaults to HrvSampleKind.nightlyRmssd — the dominant host modality. Raw-RR callers MUST set HrvSampleKind.rawRr explicitly.

Constructors

HrvSample({required int tsMs, required double rmssdMs, HrvSampleKind kind = HrvSampleKind.nightlyRmssd})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
kind → HrvSampleKind
final
rmssdMs → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tsMs → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited