HttpClient 构造函数

HttpClient(
  1. {SecurityContext? context}
)

实现

factory HttpClient({SecurityContext? context}) {
  HttpOverrides? overrides = HttpOverrides.current;
  if (overrides == null) {
    return _HttpClient(context);
  }
  return overrides.createHttpClient(context);
}