SlackWebhook constructor

SlackWebhook({
  1. required String type,
  2. Map<String, Object> event = const {},
  3. required String command,
  4. required String responseUrl,
})

Returns a new SlackWebhook instance.

Implementation

SlackWebhook({
  required this.type,
  this.event = const {},
  required this.command,
  required this.responseUrl,
});