Category constructor

Category(
  1. int? id,
  2. String? name,
  3. String? slug
)

Implementation

Category(this.id, this.name, this.slug);