pause method

Future<bool> pause()

Pauses the current task.

Calling this method will trigger a snapshot event with a TaskState.paused state.

Implementation

Future<bool> pause() {
  throw UnimplementedError('pause() is not implemented');
}