Interest constructor

Interest({
  1. int? id,
  2. required String name,
  3. String? slug,
  4. String? icon,
})

Returns a new Interest instance.

Implementation

Interest({
  this.id,
  required this.name,
  this.slug,
  this.icon,
});