stop method

Future<void> stop(
  1. String role
)

Stops the running task for role.

Implementation

Future<void> stop(String role) =>
    _check('schtasks.exe', endArgs(taskName(role)), 'stop task');