Tag constructor

Tag({
  1. required int id,
  2. required String name,
  3. required bool isPredefined,
  4. String? predefinedTagKey,
  5. String? category,
  6. String? color,
})

Creates a new Tag instance

Implementation

Tag({
  required this.id,
  required this.name,
  required this.isPredefined,
  this.predefinedTagKey,
  this.category,
  this.color,
});