Client constructor

Client()

Creates a new platform appropriate client.

Creates an IOClient if dart:io is available and a BrowserClient if dart:html is available, otherwise it will throw an unsupported error.

Implementation

factory Client() => zoneClient ?? createClient();