PasskitStructure class

Constructors

PasskitStructure({List<PasskitField>? auxiliaryFields, List<PasskitField>? headerFields, List<PasskitField>? secondaryFields, List<PasskitField>? backFields, List<PasskitField>? primaryFields, String? transitType})
PasskitStructure.fromJson(Map<String, dynamic> json)
factory

Properties

auxiliaryFields List<PasskitField>?
Optional. Additional fields to be displayed on the front of the pass.
final
backFields List<PasskitField>?
Optional. Fields to be on the back of the pass.
final
hashCode int
The hash code for this object.
no setterinherited
headerFields List<PasskitField>?
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<PasskitField>?
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<PasskitField>?
Optional. Fields to be displayed on the front of the pass.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
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>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited