PassStructureDictionary class
Keys that define the structure of the pass.
- Annotations
-
- @JsonSerializable()
Constructors
-
PassStructureDictionary({List<
Fields> ? headerFields, List<Fields> ? secondaryFields, List<Fields> ? backFields, List<Fields> ? auxiliaryFields, List<Fields> ? primaryFields, String? transitType}) -
Creates a new PassStructureDictionary
const
-
PassStructureDictionary.fromJson(Map<
String, dynamic> json) -
Convert from json
factory
Properties
-
auxiliaryFields
→ List<
Fields> ? -
Optional. Additional fields to be displayed on the front of the pass.
final
-
backFields
→ List<
Fields> ? -
Optional. Fields to be on the back of the pass.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headerFields
→ List<
Fields> ? -
Optional. Fields to be displayed in the header on the front of the pass.
Use header fields sparingly; unlike all other fields, they remain visible when a stack of passes are displayed.
final
-
primaryFields
→ List<
Fields> ? -
Optional. Fields to be displayed prominently on the front of the pass.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secondaryFields
→ List<
Fields> ? -
Optional. Fields to be displayed on the front of the pass.
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - transitType → String?
-
Required for boarding passes; otherwise not allowed.
Type of transit. Must be one of the following values:
PKTransitTypeAir, PKTransitTypeBoat, PKTransitTypeBus, PKTransitTypeGeneric,PKTransitTypeTrain.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert to json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited