PKPass class
PKPass is the object to interact with Apple's wallet. Only works on iOS, otherwise will throw an assertion error when created.
Call static functions PKPass.fromBytes or PKPass.fromUrl to build a new PKPass.
Constructors
- PKPass.fromBytes(Uint8List data)
-
Creates a new PKPass object from a given Uint8List.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
) → Future< void> - Saves a PKPass, showing a modal preview of the pass.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited