SlackHandler constructor

SlackHandler(
  1. String webhookUrl,
  2. String channel, {
  3. String? apiToken,
  4. String? channelId,
  5. String username = 'Catcher 2',
  6. String iconEmoji = ':bangbang:',
  7. bool printLogs = false,
  8. bool enableDeviceParameters = false,
  9. bool enableApplicationParameters = false,
  10. bool enableStackTrace = false,
  11. bool enableCustomParameters = false,
  12. FutureOr<String> customMessageBuilder(
    1. 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,
});