AverageType enum

Spell out the types of moving average calculations available in this package.

Inheritance

Constructors

AverageType()
const

Values

simple → const AverageType

A simple moving average, where each element in the window is weighted equally.

weighted → const AverageType

A weighted moving average, where more recent elements in the window are more heavily weighted.

exponential → const AverageType

An exponential moving average, where the current data point, and the previous moving average are combined to calculate the new moving average.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<AverageType>
A constant List of the values in this enum, in order of their declaration.