isOperationCancelled method

bool isOperationCancelled(
  1. String operationId
)

Check if operation is cancelled

Implementation

bool isOperationCancelled(String operationId) {
  final operation = _pendingOperations[operationId];
  return operation?.isCancelled ?? false;
}