GenericObject class
Generic Object
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, Image? logo, Notifications? notifications, PassConstraints? passConstraints, RotatingBarcode? rotatingBarcode, String? smartTapRedemptionValue, String? state, LocalizedString? subheader, List<TextModuleData> ? textModulesData, TimeInterval? validTimeInterval, Image? wideLogo}) - GenericObject.fromJson(Map json_)
Properties
- appLinkData ↔ AppLinkData?
-
Optional app or website link that will be displayed as a button on the
front of the pass.
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
- header ↔ LocalizedString?
-
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
- logo ↔ Image?
-
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
- wideLogo ↔ Image?
-
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