проведи ревью кода


/// Data for line chart.
class LineChartViewConfiguration {
  /// List of chart groups.
  final List<LineChartBarData> chartData;

  /// Min value of Y axis.
  final double minY;

  /// NAME_1 value of Y axis.
  final double maxY;

  /// @nodoc.
  const LineChartViewConfiguration({
    required this.chartData,
    required this.minY,
    required this.maxY,
  });

  /// Empty data placeholder.
  const LineChartViewConfiguration.empty()
      : chartData = const [],
        minY = 60,
        maxY = 140;
}