Conditional constructor

Conditional()

Creates a new platform appropriate conditional.

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

Implementation

factory Conditional() => createConditional();