isEmulator property

bool get isEmulator

True on an emulator/simulator (detected on Android and Apple; desktops report false).

Implementation

static bool get isEmulator => UDevice.isEmulator;