Complaint constructor

Complaint({
  1. required String id,
  2. String? userId,
  3. String? eventType,
  4. String? mailSource,
  5. String? mailMessageId,
  6. required String complaintRecipient,
  7. required DateTime createdAt,
  8. required DateTime updatedAt,
})

Returns a new Complaint instance.

Implementation

Complaint({
  required this.id,
  this.userId,
  this.eventType,
  this.mailSource,
  this.mailMessageId,
  required this.complaintRecipient,
  required this.createdAt,
  required this.updatedAt,
});