Category constructor

Category({
  1. required String id,
  2. String? name,
})

Implementation

Category({
  required this.id,
  this.name,
});