SlackHandler constructor

SlackHandler(
  1. String webhookUrl,
  2. String channel, {
  3. String username = 'Catcher',
  4. String iconEmoji = ':bangbang:',
  5. bool printLogs = false,
  6. bool enableDeviceParameters = false,
  7. bool enableApplicationParameters = false,
  8. bool enableStackTrace = false,
  9. bool enableCustomParameters = false,
  10. FutureOr<String> customMessageBuilder(
    1. Report report
    )?,
})

Implementation

SlackHandler(
  this.webhookUrl,
  this.channel, {
  this.username = 'Catcher',
  this.iconEmoji = ':bangbang:',
  this.printLogs = false,
  this.enableDeviceParameters = false,
  this.enableApplicationParameters = false,
  this.enableStackTrace = false,
  this.enableCustomParameters = false,
  this.customMessageBuilder,
});