afterDone method Null safety
- 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);