BaselineSource enum
Stable identity for every baseline data lane. Keep these wire
strings in sync with Baselines.lastSource and the engine's
per-provider switch — host apps store the enum, the engine sees
the string.
Values
- whoop → const BaselineSource
-
const BaselineSource('whoop') - garmin → const BaselineSource
-
const BaselineSource('garmin') - device → const BaselineSource
-
Platform health store. Resolves to Apple Health on iOS or Health Connect on Android — the host UI surfaces this as "Device" and the wire id stays stable for storage.
const BaselineSource('device') - selfReport → const BaselineSource
-
Self-reported questionnaire. Available only when the user is in Research mode.
const BaselineSource('self_report')
Properties
- engineProvider → String
-
The provider id passed to the engine when this lane ingests a
payload. For device the SDK chooses
apple_healthorhealth_connectbased on the running platform.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- label → String
-
Human-readable label for the source, with platform-aware label
for device.
no setter
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sublabel → String?
-
Subtitle hint exposing what
deviceactually maps to.no setter - wire → String
-
final
Methods
-
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.
inherited
Static Methods
-
fromWire(
String? s) → BaselineSource?
Constants
-
values
→ const List<
BaselineSource> - A constant List of the values in this enum, in order of their declaration.