DbPassMetadata class

Inheritance
  • Object
  • PassMetadata
  • DbPassMetadata

Properties

appLaunchURL String?
A URL to be passed to the associated app when launching it.
finalinherited
backgroundColor int?
Background color of the pass.
finalinherited
barcodes List<PassBarcode>
Information specific to the pass’s barcode. The system uses the first valid barcode dictionary in the array. Additional dictionaries can be added as fallbacks.
finalinherited
beacons List<Beacon>
Beacons marking locations where the pass is relevant.
finalinherited
boardingPass → PassStructureDictionary?
Information specific to a boarding pass.
finalinherited
coupon → PassStructureDictionary?
Information specific to a coupon.
finalinherited
description String
Brief description of the pass, used by accessibility technologies.
finalinherited
eventTicket → PassStructureDictionary?
Information specific to an event ticket.
finalinherited
expirationDate DateTime?
Date and time when the pass expires.
finalinherited
foregroundColor int?
Foreground color of the pass.
finalinherited
formatVersion int
Version of the file format. The value must be 1.
finalinherited
generic → PassStructureDictionary?
Information specific to a generic pass.
finalinherited
groupingIdentifier String?
Optional for event tickets and boarding passes; otherwise not allowed. Identifier used to group related passes. If a grouping identifier is specified, passes with the same style, pass type identifier, and grouping identifier are displayed as a group. Otherwise, passes are grouped automatically.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
labelColor int?
Color of the label text.
finalinherited
locations List<Location>
Locations where the pass is relevant. For example, the location of your store.
finalinherited
logoText String?
Text displayed next to the logo on the pass.
finalinherited
maxDistance int?
Maximum distance in meters from a relevant latitude and longitude that the pass is relevant. This number is compared to the pass’s default distance and the smaller value is used.
finalinherited
organizationName String
Display name of the organization that originated and signed the pass.
finalinherited
passTypeIdentifier String
Pass type identifier, as issued by Apple. The value must correspond with your signing certificate.
finalinherited
relevantDate DateTime?
Recommended for event tickets and boarding passes; otherwise optional. Date and time when the pass becomes relevant. For example, the start time of a movie.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialNumber String
Serial number that uniquely identifies the pass. No two passes with the same pass type identifier may have the same serial number.
finalinherited
storeCard → PassStructureDictionary?
Information specific to a store card.
finalinherited
teamIdentifier String
Team identifier of the organization that originated and signed the pass, as issued by Apple.
finalinherited
ticketResponse TicketResponse
final
voided bool
Indicates that the pass is void—for example, a one time use coupon that has been redeemed. The default value is false.
finalinherited
webService → PassWebService?
Information used to update passes using the web service.
finalinherited

Methods

getLocalizedDescription(PassFile pass, Locale? locale) String
Localized version of description based on given locale and pass.
inherited
getLocalizedLogoText(PassFile pass, Locale? locale) String?
Localized version of logoText based on given locale and pass.
inherited
getLocalizedOrganizationName(PassFile pass, Locale? locale) String
Localized version of organizationName based on given locale and pass.
inherited
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

Static Methods

decode({required TicketResponse ticketResponse}) Future<DbPassMetadata>