Service constructor

Service({
  1. int? id,
  2. String? name,
  3. String? description,
  4. bool? active,
  5. int? cost,
})

Returns a new Service instance.

Implementation

Service({
  this.id,
  this.name,
  this.description,
  this.active,
  this.cost,
});