EmailAutoHandler class

Inheritance

Constructors

EmailAutoHandler(String smtpHost, int smtpPort, String senderEmail, String senderName, String senderPassword, List<String> recipients, {String? senderUsername, bool enableSsl = false, bool sendHtml = true, bool printLogs = false, String? emailTitle, String? emailHeader, bool enableDeviceParameters = true, bool enableApplicationParameters = true, bool enableStackTrace = true, bool enableCustomParameters = true})

Properties

emailHeader → String?
finalinherited
emailTitle → String?
finalinherited
enableApplicationParameters → bool
finalinherited
enableCustomParameters → bool
finalinherited
enableDeviceParameters → bool
finalinherited
enableSsl → bool
final
enableStackTrace → bool
finalinherited
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
printLogs → bool
final
recipients → List<String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
senderEmail → String
final
senderName → String
final
senderPassword → String
final
senderUsername → String?
final
sendHtml → bool
final
smtpHost → String
final
smtpPort → int
final

Methods

getEmailTitle(Report report) → String
Setup email title from report.
inherited
getSupportedPlatforms() → List<PlatformType>
Get list of supported platforms
override
handle(Report report, BuildContext? context) → Future<bool>
Method called when report has been accepted by user
override
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.
inherited
setupRawMessageText(Report report) → String
Setup raw text email message from report.
inherited
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