OverlayCategory constructor

OverlayCategory({
  1. required String name,
  2. required int overlayuid,
  3. required List<OverlayCategory> subcategories,
  4. required int uid,
  5. required Img img,
})

Creates an OverlayCategory instance.

name is the category name. overlayuid is the parent overlay ID. subcategories is the list of subcategories. uid is the category ID. img is the category icon.

Implementation

OverlayCategory({
  required this.name,
  required this.overlayuid,
  required this.subcategories,
  required this.uid,
  required this.img,
});