initial method Null safety

S initial()

Returns the initial summary of stream interaction, typically representing the fact that no interaction has happened at all.

Sub-classes must override this method to provide the initial value for the fold computation.

Implementation

S initial();