factory DeviceList({ $core.Iterable<Device>? devices, }) { final $result = create(); if (devices != null) { $result.devices.addAll(devices); } return $result; }