Details constructor

Details(
  1. int id,
  2. String main,
  3. String description,
  4. String icon,
)

Creates a Details object

Implementation

Details(
  this.id,
  this.main,
  this.description,
  this.icon,
);