afterDone method

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

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

The default implementation returns current as is.

Implementation

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