updateTerminalFromPro method
Implementation
Future<bool> updateTerminalFromPro({terminalId, label, direction}) async {
Map params = {"terminalId": terminalId};
if (direction != null) params.addAll({'direction': direction});
if (label != null) params.addAll({'label': label});
NetworkResponse response = await _api.updateTerminalFromPro(params);
return response.data ?? false;
}