inConnectionState method
Returns a copy of the current AsyncSnapshot with the given
connectionState
.
Implementation
AsyncSnapshot<T> inConnectionState(final ConnectionState connectionState) =>
AsyncSnapshot._(
connectionState: connectionState,
data: data,
error: error,
stackTrace: stackTrace,
);