MmSlackAttachment constructor

MmSlackAttachment({
  1. String? id,
  2. String? fallback,
  3. String? color,
  4. String? pretext,
  5. String? authorName,
  6. String? authorLink,
  7. String? authorIcon,
  8. String? title,
  9. String? titleLink,
  10. String? text,
  11. List<MmSlackAttachmentField> fields = const [],
  12. String? imageURL,
  13. String? thumbURL,
  14. String? footer,
  15. String? footerIcon,
  16. String? timestamp,
})

Returns a new MmSlackAttachment instance.

Implementation

MmSlackAttachment({
  this.id,
  this.fallback,
  this.color,
  this.pretext,
  this.authorName,
  this.authorLink,
  this.authorIcon,
  this.title,
  this.titleLink,
  this.text,
  this.fields = const [],
  this.imageURL,
  this.thumbURL,
  this.footer,
  this.footerIcon,
  this.timestamp,
});