UseTags constructor

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

Implementation

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