SlackHandler class
- Inheritance
-
- Object
- ReportHandler
- SlackHandler
Constructors
-
SlackHandler(String webhookUrl, String channel, {String username = 'Catcher', String iconEmoji = ':bangbang:', bool printLogs = false, bool enableDeviceParameters = false, bool enableApplicationParameters = false, bool enableStackTrace = false, bool enableCustomParameters = false, FutureOr<
String> customMessageBuilder(Report report)?})
Properties
- channel → String
-
final
-
customMessageBuilder
→ FutureOr<
String> Function(Report report)? -
final
- enableApplicationParameters → bool
-
final
- enableCustomParameters → bool
-
final
- enableDeviceParameters → bool
-
final
- enableStackTrace → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconEmoji → String
-
final
- localizationOptions → LocalizationOptions
-
Get currently used localization options
no setterinherited
- logger ↔ CatcherLogger
-
Logger instance
getter/setter pairinherited
- printLogs → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- username → String
-
final
- webhookUrl → String
-
final
Methods
-
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
-
setLocalizationOptions(
LocalizationOptions? localizationOptions) → void -
Set localization options (translations) to this report mode
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