getInfraredStatus method
Implementation
Future<Map<String, dynamic>> getInfraredStatus(
String deviceSerial, {
int? channelNo,
}) async {
final body = <String, dynamic>{'deviceSerial': deviceSerial};
if (channelNo != null) body['channelNo'] = channelNo;
return _client.post('/api/lapp/device/infrared/switch/get', body);
}