afterConnected method

  1. @override
AsyncSnapshot<T> afterConnected (AsyncSnapshot<T> 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<T> afterConnected(AsyncSnapshot<T> current) => current.inState(ConnectionState.waiting);