afterDone method

  1. @override
AsyncSnapshot<T> afterDone (AsyncSnapshot<T> current)
override

Returns an updated version of the current summary following stream termination.

The default implementation returns current as is.

Implementation

@override
AsyncSnapshot<T> afterDone(AsyncSnapshot<T> current) => current.inState(ConnectionState.done);