PassJson constructor
const
PassJson({
- required int formatVersion,
- required String passTypeIdentifier,
- required String description,
- required String teamIdentifier,
- required String organizationName,
- required String serialNumber,
- PassStructureDictionary? storeCard,
- PassStructureDictionary? coupon,
- PassStructureDictionary? generic,
- PassStructureDictionary? eventTicket,
- PassStructureDictionary? boardingPass,
- Color? labelColor,
- Color? backgroundColor,
- Color? foregroundColor,
- String? webServiceURL,
- String? authenticationToken,
- List<
int> ? associatedStoreIdentifiers, - String? appLaunchURL,
- String? expirationDate,
- bool? voided,
- String? groupingIdentifier,
- String? logoText,
- bool? suppressStripShine,
- List<
Barcode> ? barcodes, - Barcode? barcode,
- List<
Location> ? locations, - int? maxDistance,
- String? relevantDate,
Creates a new PassJson
Implementation
const PassJson({
required this.formatVersion,
required this.passTypeIdentifier,
required this.description,
required this.teamIdentifier,
required this.organizationName,
required this.serialNumber,
this.storeCard,
this.coupon,
this.generic,
this.eventTicket,
this.boardingPass,
this.labelColor,
this.backgroundColor,
this.foregroundColor,
this.webServiceURL,
this.authenticationToken,
this.associatedStoreIdentifiers,
this.appLaunchURL,
this.expirationDate,
this.voided,
this.groupingIdentifier,
this.logoText,
this.suppressStripShine,
this.barcodes,
this.barcode,
this.locations,
this.maxDistance,
this.relevantDate,
});