afterDone method

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

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);