Catcher2Options constructor
Catcher2Options(
- ReportMode reportMode,
- List<
ReportHandler> handlers, { - int handlerTimeout = 5000,
- Map<
String, dynamic> customParameters = const <String, dynamic>{}, - List<
LocalizationOptions> localizationOptions = const [], - Map<
String, ReportMode> explicitExceptionReportModesMap = const {}, - Map<
String, ReportHandler> explicitExceptionHandlersMap = const {}, - bool handleSilentError = true,
- String screenshotsPath = '',
- List<
String> excludedParameters = const [], - bool filterFunction(
- Report report
- int reportOccurrenceTimeout = 3000,
- void onFlutterError(
- FlutterErrorDetails details
- void onPlatformError(
- Object error,
- StackTrace stack
- Catcher2Logger? logger,
Builds catcher 2 options instance
Implementation
Catcher2Options(
this.reportMode,
this.handlers, {
this.handlerTimeout = 5000,
this.customParameters = const <String, dynamic>{},
this.localizationOptions = const [],
this.explicitExceptionReportModesMap = const {},
this.explicitExceptionHandlersMap = const {},
this.handleSilentError = true,
this.screenshotsPath = '',
this.excludedParameters = const [],
this.filterFunction,
this.reportOccurrenceTimeout = 3000,
this.onFlutterError,
this.onPlatformError,
this.logger,
});