Creates a new client.
Currently this will create an IOClient if dart:io
is available and
throw an UnsupportedError otherwise. In the future, it will create a
BrowserClient
if dart:html
is available.
Source
factory Client() { return clientOverride == null ? new IOClient() : clientOverride(); }