CategoryDto constructor

CategoryDto(
  1. {required String id,
  2. String? name,
  3. String? iconResource,
  4. required int color}
)

Implementation

CategoryDto({
  required this.id,
  this.name,
  this.iconResource,
  required this.color,
});