BoardingPassDocument class
- Inheritance
-
- Object
- BarcodeFormattedResult
- BoardingPassDocument
- Annotations
-
- @JsonSerializable(createFactory: true, includeIfNull: false, explicitToJson: true)
Constructors
-
BoardingPassDocument(int? numberOfLegs, String? name, bool? electronicTicket, String? securityData, List<
BoardingPassLeg> ? legs) -
BoardingPassDocument.fromJson(Map<
String, dynamic> json) -
factory
Properties
- documentFormat ↔ String
-
getter/setter pairinherited
- electronicTicket ↔ bool?
-
Value indicates that this ticket is an electronic ticket
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
legs
↔ List<
BoardingPassLeg> ? -
Legs information
getter/setter pair
- name ↔ String?
-
Passenger name
getter/setter pair
- numberOfLegs ↔ int?
-
Number of legs in document
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityData ↔ String?
-
Security data string
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- DOCUMENT_FORMAT → const String