afterDisconnected method
- @override
override
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
@override
AsyncSnapshot<T> afterDisconnected(AsyncSnapshot<T> current) => current.inState(ConnectionState.none);