PasskitFile class
Constructors
- PasskitFile({required String id, required File file, required Directory directory, required PasskitPass json, PasskitImage? background, PasskitImage? icon, PasskitImage? logo, PasskitImage? strip, PasskitImage? thumbnail})
Properties
- background → PasskitImage?
-
Optional. Background PasskitImage set.
final
- directory → Directory
-
Required. Directory containing pass.json and images
final
- file → File
-
Required. .pkpass File reference
final
-
Optional. Footer PasskitImage set.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → PasskitImage?
-
Optional. Icon PasskitImage set.
final
- id → String
-
Required. Unique passkit identifier
final
- json → PasskitPass
-
Required. PasskitPass implementation (card details)
final
- logo → PasskitImage?
-
Optional. Logo PasskitImage set.
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 → PasskitImage?
-
Optional. Strip PasskitImage set.
final
- thumbnail → PasskitImage?
-
Optional. Thumbnail PasskitImage set.
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> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited