createSegment method Null safety

  1. @override
WaterfallSegment createSegment()
override

Creates a segment for a data point in the series.

Implementation

@override
WaterfallSegment createSegment() => WaterfallSegment();