isSimulatorDevice property

bool get isSimulatorDevice

Implementation

static bool get isSimulatorDevice {
  if (_isSimulatorDevice == null) {
    throw Exception(
        'Simulator detection not initialized. Call _initializeSimulatorDetection first.');
  }

  return _isSimulatorDevice!;
}