Attachment constructor

const Attachment({
  1. required String name,
  2. required String contentType,
})

Creates an attachment descriptor with a display name and contentType.

Implementation

const Attachment({
  required this.name,
  required this.contentType,
});