createSegment method Null safety

ChartSegment createSegment()

To create segment for series

Implementation

ChartSegment createSegment();