ChartData class

Model class for chart data

Constructors

ChartData({required String title, required String subtitle, required double currentValue, required double previousValue, required double averageValue, required double maxValue, String unit = ''})

Properties

averageValue double
final
currentValue double
final
hashCode int
The hash code for this object.
no setterinherited
maxValue double
final
previousValue double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle String
final
title String
final
unit 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