BaseEmailHandler class abstract

Base class for all email handlers.

Inheritance
Implementers

Constructors

BaseEmailHandler({required bool enableDeviceParameters, required bool enableApplicationParameters, required bool enableStackTrace, required bool enableCustomParameters, String? emailTitle, String? emailHeader})

Properties

emailHeader String?
final
emailTitle String?
final
enableApplicationParameters bool
final
enableCustomParameters bool
final
enableDeviceParameters bool
final
enableStackTrace bool
final
hashCode int
The hash code for this object.
no setterinherited
localizationOptions LocalizationOptions
Get currently used localization options
getter/setter pairinherited
logger Catcher2Logger
Logger instance
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getEmailTitle(Report report) String
Setup email title from report.
getSupportedPlatforms() List<PlatformType>
Get list of supported platforms
inherited
handle(Report report, BuildContext? context) Future<bool>
Method called when report has been accepted by user
inherited
isContextRequired() bool
Check if given report mode requires context to run
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setupHtmlMessageText(Report report) String
Setup html email message from report.
setupRawMessageText(Report report) String
Setup raw text email message from report.
shouldHandleWhenRejected() bool
Check whether report mode should auto confirm without user confirmation.
inherited
toString() String
Can be overridden to provide more information about this handler.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited