afterDone method Null safety

S afterDone(
  1. S current
)

Returns an updated version of the current summary following stream termination.

The default implementation returns current as is.

Implementation

S afterDone(S current) => current;