isPhysicalDevice property

bool isPhysicalDevice
final

The value is true if the application is running on a physical device.

The value is false when the application is running on a emulator, or the value is unavailable.

Implementation

final bool isPhysicalDevice;