hasDevice method

bool hasDevice(
  1. String deviceType
)

Whether a device manager for deviceType is registered in devices.

Implementation

bool hasDevice(String deviceType) => _devices.containsKey(deviceType);