Insight constructor

const Insight({
  1. required String id,
  2. required InsightType type,
  3. required String title,
  4. required ElectricalNode node,
  5. required String description,
  6. required String suggestion,
  7. String? action,
  8. required InsightPriority priority,
})

Implementation

const Insight({
  required this.id,
  required this.type,
  required this.title,
  required this.node,
  required this.description,
  required this.suggestion,
  this.action,
  required this.priority,
});