UseTags constructor

UseTags({
  1. required List<Tag> tags,
  2. required bool active,
  3. required bool clickable,
  4. required List<Category> categories,
})

Implementation

UseTags({
  required this.tags,
  required this.active,
  required this.clickable,
  required this.categories,
  }){
    unCategorizedTags = tags.where((tag) => tag.category == null).toList();
}