ChartData constructor

ChartData({
  1. required String title,
  2. required String subtitle,
  3. required double currentValue,
  4. required double previousValue,
  5. required double averageValue,
  6. required double maxValue,
  7. String unit = '',
})

Implementation

ChartData({
  required this.title,
  required this.subtitle,
  required this.currentValue,
  required this.previousValue,
  required this.averageValue,
  required this.maxValue,
  this.unit = '',
});