getDevices method
Returns a snapshot of currently connected devices.
The returned list is a copy — mutations do not affect internal state.
Implementation
List<CaptureHelperDevice> getDevices() {
return List<CaptureHelperDevice>.from(_devices.values);
}