FeedbackDraft constructor

const FeedbackDraft({
  1. required String title,
  2. required String description,
  3. String? reporterName,
  4. String? reporterEmail,
  5. required FeedbackPlatform platform,
  6. String? appVersion,
  7. String? buildNumber,
  8. Map<String, String> metadata = const {},
  9. List<FeedbackAttachment> attachments = const [],
})

Creates a FeedbackDraft ready for submission.

Implementation

const FeedbackDraft({
  required this.title,
  required this.description,
  this.reporterName,
  this.reporterEmail,
  required this.platform,
  this.appVersion,
  this.buildNumber,
  this.metadata = const {},
  this.attachments = const [],
});