Feedback constructor

Feedback(
  1. {required int id,
  2. required String content,
  3. @JsonKey(name: "userid") required int author,
  4. required FeedbackType type,
  5. @JsonKey(name: "notes") @Default("") String comment,
  6. @JsonKey(name: "status") required int readAsInt,
  7. @JsonKey(name: "timestamp") required int createdAtTimestamp,
  8. @JsonKey(name: "lastmodified") int? modifiedAtTimestamp,
  9. @JsonKey(name: "lastmodifiedby") int? modifiedByUserId,
  10. @JsonKey(name: "logfile") String? logfile}
)

Feedback submitted by the user.

Implementation

factory Feedback