Customer constructor

Customer({
  1. required String id,
  2. required String referenceId,
  3. required String email,
  4. required String givenNames,
  5. required String surname,
  6. required String description,
  7. required String mobileNumber,
  8. required String phoneNumber,
  9. required String nationality,
  10. required String dateOfBirth,
  11. Map<String, String> cardInfo = const <String, String>{},
  12. List<Address> addresses = const <Address>[],
})

Implementation

Customer({
  required this.id,
  required this.referenceId,
  required this.email,
  required this.givenNames,
  required this.surname,
  required this.description,
  required this.mobileNumber,
  required this.phoneNumber,
  required this.nationality,
  required this.dateOfBirth,
  this.cardInfo = const <String, String>{},
  this.addresses = const <Address>[],
});