Passenger constructor

Passenger({
  1. int? passengerIndex,
  2. String? title,
  3. String? givenName,
  4. String? familyName,
  5. String? gender,
  6. DateTime? bornOn,
  7. String? email,
  8. String? phoneNumber,
  9. List<IdentityDocument> identityDocuments = const [],
  10. List<SelectedSeat> selectedSeats = const [],
})

Returns a new Passenger instance.

Implementation

Passenger({
  this.passengerIndex,
  this.title,
  this.givenName,
  this.familyName,
  this.gender,
  this.bornOn,
  this.email,
  this.phoneNumber,
  this.identityDocuments = const [],
  this.selectedSeats = const [],
});