Attachment constructor

const Attachment({
  1. required String id,
  2. required String name,
  3. required int size,
  4. required String type,
  5. String? url,
})

Creates an attachment.

Implementation

const Attachment({required this.id, required this.name, required this.size, required this.type, this.url});