isEmulator property

Future<bool> isEmulator

Check if the app is run on an emulator/simulator

Implementation

static Future<bool> get isEmulator async =>
    await _channel.invokeMethod("isEmulator");