spots property

List<FlSpot> spots
final

This line goes through this spots.

You can have multiple lines by splitting them, put a FlSpot.nullSpot between each section.

Implementation

final List<FlSpot> spots;