PassMetadata constructor
const
PassMetadata({
- required String description,
- required int formatVersion,
- required String organizationName,
- required String passTypeIdentifier,
- required String serialNumber,
- required String teamIdentifier,
- String? appLaunchURL,
- DateTime? expirationDate,
- bool voided = false,
- List<
Beacon> beacons = const [], - List<
Location> locations = const [], - int? maxDistance,
- DateTime? relevantDate,
- PassStructureDictionary? boardingPass,
- PassStructureDictionary? coupon,
- PassStructureDictionary? eventTicket,
- PassStructureDictionary? generic,
- PassStructureDictionary? storeCard,
- List<
PassBarcode> barcodes = const [], - int? backgroundColor,
- int? foregroundColor,
- String? groupingIdentifier,
- int? labelColor,
- String? logoText,
- PassWebService? webService,
Implementation
const PassMetadata({
required this.description,
required this.formatVersion,
required this.organizationName,
required this.passTypeIdentifier,
required this.serialNumber,
required this.teamIdentifier,
this.appLaunchURL,
this.expirationDate,
this.voided = false,
this.beacons = const [],
this.locations = const [],
this.maxDistance,
this.relevantDate,
this.boardingPass,
this.coupon,
this.eventTicket,
this.generic,
this.storeCard,
this.barcodes = const [],
this.backgroundColor,
this.foregroundColor,
this.groupingIdentifier,
this.labelColor,
this.logoText,
this.webService,
});