Category of function which can convert an actual http.Response object into a domain-logic equivalent, ApiResult.
http.Response
typedef ResponseProcessor = ApiResult Function(DateTime, http.Response);