Rule constructor

Rule({
  1. required String id,
  2. required String description,
  3. required MistakeType issueType,
  4. required Category category,
  5. required bool isPremium,
})

Creates a new instance of the Rule class.

Implementation

Rule({
  required this.id,
  required this.description,
  required this.issueType,
  required this.category,
  required this.isPremium,
});