CategoryDTO constructor

CategoryDTO({
  1. String? id,
  2. String? createdAt,
  3. String? updatedAt,
  4. bool? isActive,
  5. bool? isDeleted,
  6. String? name,
  7. String? slug,
  8. int? sortIndex,
  9. List<PhotoDTO>? photos,
  10. StoreDTO? store,
  11. TaxDTO? tax,
  12. List<CategoryDTO>? children,
})

Implementation

CategoryDTO(
    {super.id,
    super.createdAt,
    super.updatedAt,
    super.isActive,
    super.isDeleted,
    this.name,
    this.slug,
    this.sortIndex,
    this.photos,
    this.store,
    this.tax,
    this.children});