timerOperationAll method

Future<Uint8List> timerOperationAll(
  1. String operation
)
inherited

timerOperationAll -> /v1/timers/{operation}

Performs the requested operation for all configured timers (start, stop, reset).

PARAMETERS

operation : The operation to perform on the timer

  • Should be one of: start, stop, reset

RESPONSE 200:

The request was processed successfully. There is no response body.

content-type: ``

Implementation

Future<Uint8List> timerOperationAll(String operation) async {
  String url = '/v1/timers/$operation';

  return await call('get', url, httpAccept: 'application/json');
}