editDetectorName method
Implementation
Future<Map<String, dynamic>> editDetectorName(
String deviceSerial, // A1 Hub serial
String detectorSerial,
String newName,
) async {
return _client.post('/api/lapp/detector/name/change', {
'deviceSerial': deviceSerial,
'detectorSerial': detectorSerial,
'newName': newName,
});
}