Attachment constructor

Attachment({
  1. required String name,
  2. required Uri url,
  3. required String type,
  4. Uri? smallThumbnail,
  5. Uri? largeThumbnail,
})

Creates a FormData Object

Implementation

Attachment({
  required this.name,
  required this.url,
  required this.type,
  this.smallThumbnail,
  this.largeThumbnail,
});