updateConfig method
void
updateConfig({
- CatcherOptions? debugConfig,
- CatcherOptions? profileConfig,
- CatcherOptions? releaseConfig,
Update config after initialization
Implementation
void updateConfig({
CatcherOptions? debugConfig,
CatcherOptions? profileConfig,
CatcherOptions? releaseConfig,
}) {
if (debugConfig != null) {
this.debugConfig = debugConfig;
}
if (profileConfig != null) {
this.profileConfig = profileConfig;
}
if (releaseConfig != null) {
this.releaseConfig = releaseConfig;
}
_setupCurrentConfig();
_setupReportModeActionInReportMode();
_setupScreenshotManager();
_configureLogger();
_localizationOptions = null;
}