editDeviceName method

Future<Map<String, dynamic>> editDeviceName(
  1. String deviceSerial,
  2. String deviceName
)

Implementation

Future<Map<String, dynamic>> editDeviceName(
  String deviceSerial,
  String deviceName,
) async {
  return _client.post('/api/lapp/device/name/update', {
    'deviceSerial': deviceSerial,
    'deviceName': deviceName,
  });
}