Category constructor

const Category({
  1. int? id,
  2. String? cid,
  3. String? name,
  4. String? slug,
})

Implementation

const Category({this.id, this.cid, this.name, this.slug}) : super();