BubbleDataSet constructor
BubbleDataSet({
- required Color color,
- required List<
BubbleDataPoint> dataPoints,
Creates a bubble data set.
color is required for rendering.
dataPoints is required and must not be empty.
Throws an AssertionError if dataPoints is empty.
Implementation
BubbleDataSet({required this.color, required this.dataPoints})
: assert(
dataPoints.isNotEmpty,
'BubbleDataSet dataPoints must not be empty',
);