HttpLibraryMethod<T> typedef
A callback that returns a Dio response, presumably from a Dio method
it has called which performs an HTTP request, such as dio.get()
,
dio.post()
, etc.
Implementation
typedef HttpLibraryMethod<T> = Future<Response<T>> Function();