TimeSeries class abstract

Annotations
  • @freezed

Constructors

TimeSeries.new({@Default([]) List<String> fields, @Default([]) List<List<double>> samples, @Default([]) List<double> min, @Default([]) List<double> max, @Default([]) List<double> mean, @Default([]) List<double> median, @Default([]) List<double> variance})
const
factory

Properties

copyWith → $TimeSeriesCopyWith<TimeSeries>
Create a copy of TimeSeries with the given fields replaced by the non-null parameter values.
no setterinherited
fields List<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
max List<double>
no setterinherited
mean List<double>
no setterinherited
median List<double>
no setterinherited
min List<double>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samples List<List<double>>
no setterinherited
variance List<double>
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

Static Methods

encode(TimeSeries value) Map<String, dynamic>
fromJSON(Map<String, dynamic> data) TimeSeries