Tag constructor

Tag({
  1. required String name,
  2. String? icon,
  3. required String slug,
  4. required String color,
  5. String? category,
  6. String? visibility,
  7. bool isSelected = false,
})

Implementation

Tag({
  required this.name,
  this.icon,
  required this.slug,
  required this.color,
  this.category,
  this.visibility,
  this.isSelected = false
  });