PassFile class
Parsed Apple Wallet pass file
Constructors
Properties
- background → PassImage?
-
The image displayed as the background of the front of the pass.
final
- directory → Directory
-
Directory with unpacked pass files
final
- file → File
-
passkit File
final
-
The image displayed on the front of the pass near the barcode.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → PassImage?
-
The pass’s icon. This is displayed in notifications and in emails that have a pass attached, and on the lock screen.
When it is displayed, the icon gets a shine effect and rounded corners.
final
- id → String
-
Pass file id
final
- logo → PassImage?
-
The image displayed on the front of the pass in the top left.
final
- pass → PassJson
-
A JSON dictionary that defines 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
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - strip → PassImage?
-
The image displayed behind the primary fields on the front of the pass.
final
- thumbnail → PassImage?
-
An additional image displayed on the front of the pass. For example, on a membership card, the thumbnail could be used to a picture of the cardholder.
final
Methods
-
delete(
) → void - Delete current pass file from memory
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
) → Future< void> - Save current PassFile to internal memory and delete previewed pass file
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited