Client constructor

Client()

Creates a new platform appropriate client.

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

Implementation

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