PassengerInput constructor

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

Returns a new PassengerInput instance.

Implementation

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