cancelOperation method

bool cancelOperation()

Implementation

bool cancelOperation() {
  try {
    terminate();
    configureFutronic();
    _currentIsolate?.kill();
    _currentIsolate = null;
    return true;
  } catch (e) {
    return false;
  }
}