cancelRequest method

Future<bool?> cancelRequest(
  1. String requestId
)

Cancels a task by ID

requestId - task ID to cancel

Returns true if the task was cancelled, false if it could not be cancelled, null if the task does not exist

Implementation

Future<bool?> cancelRequest(String requestId) {
  throw UnimplementedError('cancelRequest() has not been implemented.');
}