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