setDetectionArea method
Implementation
Future<Map<String, dynamic>> setDetectionArea(
String deviceSerial,
String channelNo, // API doc shows string
String area, // e.g., "8,8,8"
) async {
return _client.post('/api/v3/device/motion/detect/set?area=$area', {
'deviceSerial': deviceSerial,
'channelNo': channelNo,
// 'area': area, // Query param
});
}