BoardingPassDocument constructor

BoardingPassDocument({
  1. int? numberOfLegs,
  2. String? name,
  3. bool? electronicTicket,
  4. String? securityData,
  5. List<BoardingPassLeg>? legs,
})

Implementation

BoardingPassDocument(
    {this.numberOfLegs,
    this.name,
    this.electronicTicket,
    this.securityData,
    List<BoardingPassLeg>? legs})
    : legs = legs ?? const [], super(DOCUMENT_FORMAT);