captureResult method Null safety

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

Capture the result of a generic aync query

Implementation

Future<QueryResult<T>> captureResult(Future<T> future) =>
    updateWith(future.asQueryResult());