PassJson constructor

const PassJson({
  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. PassStructureDictionary? storeCard,
  8. PassStructureDictionary? coupon,
  9. PassStructureDictionary? generic,
  10. PassStructureDictionary? eventTicket,
  11. PassStructureDictionary? 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. String? groupingIdentifier,
  22. String? logoText,
  23. bool? suppressStripShine,
  24. List<Barcode>? barcodes,
  25. Barcode? barcode,
  26. List<Location>? locations,
  27. int? maxDistance,
  28. 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,
});