PassStructureDictionary class

Keys that define the structure of the pass.

These keys are used for all pass styles and partition the fields into the various parts of the pass.

Constructors

PassStructureDictionary({List<DictionaryField> headerFields = const [], List<DictionaryField> primaryFields = const [], List<DictionaryField> secondaryFields = const [], List<DictionaryField> backFields = const [], List<DictionaryField> auxiliaryFields = const [], TransitType? transitType})
const
PassStructureDictionary.fromJson(Map<String, Object?> json)
factory

Properties

auxiliaryFields List<DictionaryField>
Additional fields to be displayed on the front of the pass.
final
backFields List<DictionaryField>
Fields to be on the back of the pass.
final
hashCode int
The hash code for this object.
no setterinherited
headerFields List<DictionaryField>
Fields to be displayed in the header on the front of the pass.
final
primaryFields List<DictionaryField>
Fields to be displayed prominently on the front of the pass.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryFields List<DictionaryField>
Fields to be displayed on the front of the pass.
final
transitType TransitType?
Required for boarding passes; otherwise not allowed. Type of transit.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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