WaterfallSegment constructor Null safety

WaterfallSegment()