restartAgent method

Future<void> restartAgent(
  1. String id
)

Restarts the node agent — not the machine.

Implementation

Future<void> restartAgent(String id) async => post('/nodes/$id/restart');