supportsDevice method
Returns true if this factory supports a device of the given deviceType
.
Note that even though a certain type of device is supported, its device
DeviceDataCollector
is not loaded until registerDevice is called.
Implementation
@override
bool supportsDevice(String type) {
for (var package in SamplingPackageRegistry().packages) {
if (package.deviceType == type) return true;
}
return false;
}