synchronizeModifications method

  1. @override
Future<Error?> synchronizeModifications()
override

Implementation

@override
Future<Error?> synchronizeModifications() async {
  return getStrategy().synchronizeModifications().whenComplete(() {
    if (visitor.config.decisionMode == Mode.BUCKETING &&
        Flagship.getStatus() != Status.PANIC_ON) {
      visitor.sendHit(Segment(persona: visitor.getCurrentContext()));
    }
  });
}