A function type abstracted from http.get, mainly for mocking at test time.
http.get
typedef GetClient = Future<http.Response> Function( Uri url, { Map<String, String>? headers, });