adbSerialArgs function
Serial prefix so adb targets one attached device. Multi-device hosts (phone + emulator) fail with "more than one device" without it.
Implementation
List<String> adbSerialArgs(String? serial) =>
serial == null || serial.trim().isEmpty ? const [] : ['-s', serial.trim()];