Customer constructor

const Customer({
  1. required String id,
  2. required String type,
  3. required String name,
  4. required String country,
  5. String? legalForm,
  6. String? email,
  7. String? phone,
  8. String? street,
  9. String? houseNumber,
  10. String? zip,
  11. String? city,
  12. String? vatId,
  13. String? shortCode,
  14. bool isAuthority = false,
  15. String? note,
  16. String? externalId,
  17. String language = 'de',
  18. String? createdAt,
  19. String? updatedAt,
})

Implementation

const Customer({
  required this.id,
  required this.type,
  required this.name,
  required this.country,
  this.legalForm,
  this.email,
  this.phone,
  this.street,
  this.houseNumber,
  this.zip,
  this.city,
  this.vatId,
  this.shortCode,
  this.isAuthority = false,
  this.note,
  this.externalId,
  this.language = 'de',
  this.createdAt,
  this.updatedAt,
});