afterDisconnected method Null safety

S afterDisconnected(
  1. S current
)

Returns an updated version of the current summary reflecting that we are no longer connected to a stream.

The default implementation returns current as is.

Implementation

S afterDisconnected(S current) => current;