Tag constructor

const Tag({
  1. required int id,
  2. required TagType type,
  3. required String name,
  4. required int count,
  5. required String url,
})

Creates a tag.

Implementation

const Tag({
  required this.id,
  required this.type,
  required this.name,
  required this.count,
  required this.url,
});