isPhysicalDevice property

bool isPhysicalDevice
final

false if the application is running in a simulator, true otherwise.

Implementation

final bool isPhysicalDevice;