ResponseFuture<R> constructor

ResponseFuture<R>(
  1. ClientCall<dynamic, R> _call
)

Implementation

ResponseFuture(this._call)
    : super(_call.response
          .fold<R?>(null, _ensureOnlyOneResponse)
          .then(_ensureOneResponse));