updateNativeCircleData method

void updateNativeCircleData({
  1. bool forceUpdate = false,
})

Implementation

void updateNativeCircleData({bool forceUpdate = false}) {
  if (!_nativeWebCircleRunning) {
    return;
  }
  if (forceUpdate) {
    loopLock?.setLockStatus(CircleLockStatus.invalid);
    loopLock = CircleLock(CircleLockStatus.active);
    _startCircleDataLoop(loopLock);
  } else {
    loopLock?.updatePendingTime();
  }
}