EmailAutoHandler class

Inheritance

Constructors

EmailAutoHandler(String smtpHost, int smtpPort, String senderEmail, String senderName, String senderPassword, List<String> recipients, {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, bool enableScreenRouters = true})

Properties

emailHeader String?
finalinherited
emailTitle String?
finalinherited
enableApplicationParameters bool
finalinherited
enableCustomParameters bool
finalinherited
enableDeviceParameters bool
finalinherited
enableScreenRouters 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
no setterinherited
logger TrackerLogger
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
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 error, 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
setLocalizationOptions(LocalizationOptions? localizationOptions) → void
Set localization options (translations) to this report mode
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
A string representation of this object.
inherited

Operators

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