PasskitPass constructor

const PasskitPass({
  1. required int formatVersion,
  2. required String passTypeIdentifier,
  3. required String description,
  4. required String teamIdentifier,
  5. required String organizationName,
  6. required String serialNumber,
  7. PasskitStructure? storeCard,
  8. PasskitStructure? coupon,
  9. PasskitStructure? generic,
  10. PasskitStructure? eventTicket,
  11. PasskitStructure? boardingPass,
  12. Color? labelColor,
  13. Color? backgroundColor,
  14. Color? foregroundColor,
  15. String? webServiceURL,
  16. String? authenticationToken,
  17. List<int>? associatedStoreIdentifiers,
  18. String? appLaunchURL,
  19. String? expirationDate,
  20. bool? voided,
  21. bool? sharingProhibited,
  22. String? groupingIdentifier,
  23. String? logoText,
  24. List<PasskitBarcode>? barcodes,
  25. PasskitNfc? nfc,
  26. List<PasskitLocation>? locations,
  27. int? maxDistance,
  28. String? relevantDate,
})

Implementation

const PasskitPass({
  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.sharingProhibited,
  this.groupingIdentifier,
  this.logoText,
  this.barcodes,
  this.nfc,
  this.locations,
  this.maxDistance,
  this.relevantDate,
});