Trend enum

Enumeration class that holds all of the info for the trends relative to each metric

Inheritance
Implemented types
Available extensions

Values

sleepScore → const Trend

Trend for the sleep score

const Trend(id: 'sleep_trend', code: '003-003-001-004', eta: 0, populationRange: placeholder)
cognitiveFitness → const Trend

Trend for the cognitive fitness

const Trend(id: 'cognitive_trend', code: '003-003-002-004', eta: 0, populationRange: placeholder)
socialEngagement → const Trend

Trend for the social engagement

const Trend(id: 'social_engagement_trend', code: '003-003-003-005', eta: 0, populationRange: placeholder)
actionSpeed → const Trend

Trend for the action speed

const Trend(id: 'action_trend', code: '003-003-002-001', eta: 0, populationRange: placeholder)
typingSpeed → const Trend

Trend for the typing speed

const Trend(id: 'typing_trend', code: '003-003-002-003', eta: 0, populationRange: placeholder)
sleepLength → const Trend

Trend for the sleep length

const Trend(id: 'sleep_length_trend', code: '003-003-001-001', eta: 0, populationRange: placeholder)
sleepInterruptions → const Trend

Trend for the sleep interruptions

const Trend(id: 'sleep_interruptions_trend', code: '003-003-001-003', eta: 0, populationRange: placeholder)
socialScreenTime → const Trend

Trend for social screen time

const Trend(id: 'social_screen_time_trend', code: '003-003-003-002', eta: 0, populationRange: placeholder)
socialTaps → const Trend

Trend for social taps

const Trend(id: 'social_taps_trend', code: '003-003-003-004', eta: 0, populationRange: placeholder)
theWave → const Trend

General trend tha considers sleep and cognitive fitness

const Trend(id: 'the_wave_trend', code: '003-003-004-001', eta: 0, populationRange: placeholder)

Properties

code → String
Code for the metric type
final
eta → int?
Estimated time of arrival in days (how long before the first estimate)
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique identifier for the metric type
final
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
populationRange → PopulationRange?
Population range for the metric type
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
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<Trend>
A constant List of the values in this enum, in order of their declaration.