getDetectionArea method

Future<Map<String, dynamic>> getDetectionArea(
  1. String deviceSerial,
  2. String channelNo
)

Implementation

Future<Map<String, dynamic>> getDetectionArea(
  String deviceSerial,
  String channelNo, // API doc shows string for channelNo here
) async {
  return _client.post('/api/v3/device/motion/detect/get', {
    'deviceSerial': deviceSerial,
    'channelNo': channelNo,
  });
}