updateWith method

Future<QueryResult<T>> updateWith(
  1. Future<QueryResult<T>> future
)

Update self with future QueryResult

Implementation

Future<QueryResult<T>> updateWith(Future<QueryResult<T>> future) async {
  await state.updateWith(future).forEach(emit);

  return QueryResult<T>.from(this.state);
}