afterConnected method

  1. @override
AsyncSnapshot<S> afterConnected(
  1. AsyncSnapshot<S> current
)
override

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

@override
AsyncSnapshot<S> afterConnected(AsyncSnapshot<S> current) =>
    initial().inState(ConnectionState.waiting);