updateConfig method

void updateConfig({
  1. TrackerOptions? debugConfig,
  2. TrackerOptions? profileConfig,
  3. TrackerOptions? releaseConfig,
})

Update config after initialization

Implementation

void updateConfig({
  TrackerOptions? debugConfig,
  TrackerOptions? profileConfig,
  TrackerOptions? releaseConfig,
}) {
  if (debugConfig != null) {
    this.debugConfig = debugConfig;
  }
  if (profileConfig != null) {
    this.profileConfig = profileConfig;
  }
  if (releaseConfig != null) {
    this.releaseConfig = releaseConfig;
  }
  _setupCurrentConfig();
  _setupReportModeActionInReportMode();
  _configureLogger();
  _localizationOptions = null;
}