newUniversalHttpClient function

HttpClient newUniversalHttpClient()

Constructs a new HttpClient that will be BrowserHttpClient in browsers and the normal dart:io HTTP client everywhere else.

Implementation

HttpClient newUniversalHttpClient() => helpers.newHttpClient();