afterConnected method Null safety

S afterConnected(
  1. S current
)

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

The default implementation returns current as is.

Implementation

S afterConnected(S current) => current;