isPhysicalDevice property

String get isPhysicalDevice

false if the application is running in an emulator, true otherwise. Empty string if not available.

Implementation

static String get isPhysicalDevice =>
    _deviceParameters['isPhysicalDevice'] ?? '';