SlackHandler constructor
SlackHandler(
- String webhookUrl,
- String channel, {
- String? apiToken,
- String? channelId,
- String username = 'Catcher 2',
- String iconEmoji = ':bangbang:',
- bool printLogs = false,
- bool enableDeviceParameters = false,
- bool enableApplicationParameters = false,
- bool enableStackTrace = false,
- bool enableCustomParameters = false,
- FutureOr<
String> customMessageBuilder(- Report report
Implementation
SlackHandler(
this.webhookUrl,
this.channel, {
this.apiToken,
this.channelId,
this.username = 'Catcher 2',
this.iconEmoji = ':bangbang:',
this.printLogs = false,
this.enableDeviceParameters = false,
this.enableApplicationParameters = false,
this.enableStackTrace = false,
this.enableCustomParameters = false,
this.customMessageBuilder,
});