inState method

AsyncSnapshot<T> inState(
  1. ConnectionState state
)

Returns a copy of this snapshot in the given state.

Implementation

AsyncSnapshot<T> inState(ConnectionState state) =>
    AsyncSnapshot<T>._(state, data, error);