ApplePkPass class

Represents a PkPass

Constructors

ApplePkPass({required String passType, required String serialNumber, required String passTypeIdentifier, required String deviceName, required String localizedName, required String localizedDescription, required bool isRemotePass, required String? passUrl, required String organizationName, required List<int> icon})
ApplePkPass.fromMap(Map<Object, Object?> map)
factory

Properties

deviceName String
The name of the device that hosts the pass.
final
hashCode int
The hash code for this object.
no setterinherited
icon List<int>
The pass icon. PNG encoded
final
isRemotePass bool
A Boolean value that indicates whether the pass is on a paired device, such as an Apple Watch.
final
localizedDescription String
The pass’s localized description.
final
localizedName String
The localized name for the pass’s template.
final
organizationName String
The name of the organization that creates the pass.
final
passType String
The pass’s type.
final
passTypeIdentifier String
The pass’s pass type identifier.
final
passUrl String?
The URL that opens the pass in the Wallet app. Use the openURL(_:) method to open the pass in the Wallet app.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialNumber String
A value that uniquely identifies the pass.
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