Service constructor

Service({
  1. ServicePostalAddress? address,
  2. ServiceContactPoint? contactPoint,
  3. DateTime? createdAt,
  4. String? description,
  5. String? id,
  6. required String name,
  7. ServiceContactPoint? onCall,
  8. String? type,
  9. DateTime? updatedAt,
})

Returns a new Service instance.

Implementation

Service({
  this.address,
  this.contactPoint,
  this.createdAt,
  this.description,
  this.id,
  required this.name,
  this.onCall,
  this.type,
  this.updatedAt,
});