Service constructor

Service({
  1. String? id,
  2. String? name,
  3. String? code,
  4. String? description,
  5. String? administratorId,
  6. String? serviceTypeId,
  7. ServiceType? serviceType,
  8. double? price,
  9. List<String>? tags,
  10. int? validTimestamp,
  11. String? status,
  12. DateTime? createdAt,
  13. DateTime? updatedAt,
})

Implementation

Service({
  this.id,
  this.name,
  this.code,
  this.description,
  this.administratorId,
  this.serviceTypeId,
  this.serviceType,
  this.price,
  this.tags,
  this.validTimestamp,
  this.status,
  this.createdAt,
  this.updatedAt,
});