GenericObject class

Generic Object Next ID: 121

Constructors

GenericObject({AppLinkData? appLinkData, Barcode? barcode, LocalizedString? cardTitle, String? classId, String? genericType, GroupingInfo? groupingInfo, bool? hasUsers, LocalizedString? header, Image? heroImage, String? hexBackgroundColor, String? id, List<ImageModuleData>? imageModulesData, LinksModuleData? linksModuleData, Notifications? notifications, PassConstraints? passConstraints, RotatingBarcode? rotatingBarcode, String? smartTapRedemptionValue, String? state, LocalizedString? subheader, List<TextModuleData>? textModulesData, TimeInterval? validTimeInterval, })
GenericObject.fromJson(Map json_)

Properties

appLinkData AppLinkData?
Information about the partner app link.
getter/setter pair
barcode Barcode?
The barcode type and value.
getter/setter pair
cardTitle LocalizedString?
The header of the pass.
getter/setter pair
classId String?
The class associated with this object.
getter/setter pair
genericType String?
Specify which GenericType the card belongs to. Possible string values are:
getter/setter pair
groupingInfo GroupingInfo?
Information that controls how passes are grouped together.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasUsers bool?
Indicates if the object has users.
getter/setter pair
The title of the pass, such as "50% off coupon" or "Library card" or "Voucher".
getter/setter pair
heroImage Image?
Banner image displayed on the front of the card if present.
getter/setter pair
hexBackgroundColor String?
The background color for the card.
getter/setter pair
id String?
The unique identifier for an object.
getter/setter pair
imageModulesData List<ImageModuleData>?
Image module data.
getter/setter pair
linksModuleData LinksModuleData?
Links module data.
getter/setter pair
The logo image of the pass.
getter/setter pair
notifications Notifications?
The notification settings that are enabled for this object.
getter/setter pair
passConstraints PassConstraints?
Pass constraints for the object.
getter/setter pair
rotatingBarcode RotatingBarcode?
The rotating barcode settings/details.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smartTapRedemptionValue String?
The value that will be transmitted to a Smart Tap certified terminal over NFC for this object.
getter/setter pair
state String?
The state of the object.
getter/setter pair
subheader LocalizedString?
The title label of the pass, such as location where this pass can be used.
getter/setter pair
textModulesData List<TextModuleData>?
Text module data.
getter/setter pair
validTimeInterval TimeInterval?
The time period this object will be considered valid or usable.
getter/setter pair
The wide logo of the pass.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited