ResponseProcessor typedef

ResponseProcessor = ApiResult Function(DateTime, Response)

Category of function which can convert an actual http.Response object into a domain-logic equivalent, ApiResult.

Implementation

typedef ResponseProcessor = ApiResult Function(DateTime, http.Response);