HttpCall typedef

HttpCall = Future<Response> Function()

Http执行器,每次调用都应该发起独立的新http请求并返回dioResponse

WorkRequest生成,最终调用由框架负责 请求中的异常请正常抛出

Implementation

typedef HttpCall = Future<Response> Function();