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 value.updateWith(future).forEach((v) => this.value = v);

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