setFlushPolicies function

Configuration setFlushPolicies(
  1. Configuration a,
  2. List<FlushPolicy> flushPolicies
)

Implementation

Configuration setFlushPolicies(Configuration a, List<FlushPolicy> flushPolicies) {
  return Configuration(a.writeKey,
      apiHost: a.apiHost,
      autoAddHightouchDestination: a.autoAddHightouchDestination,
      cdnHost: a.cdnHost,
      debug: a.debug,
      defaultIntegrationSettings: a.defaultIntegrationSettings,
      errorHandler: a.errorHandler,
      flushPolicies: flushPolicies,
      maxBatchSize: a.maxBatchSize,
      requestFactory: a.requestFactory,
      trackApplicationLifecycleEvents: a.trackApplicationLifecycleEvents,
      trackDeeplinks: a.trackDeeplinks,
      storageJson: a.storageJson,
      token: a.token);
}