ThemeAsset class abstract

A single asset within a terminal theme, with a CDN URL.

Properties:

  • model - The terminal model that the asset is for. Must be one of the supported terminal models.
  • type - The screen type that the asset is for. Possible values: logo, homeScreen, idleScreen, afterPaymentScreen, shopperEngagementScreen.
  • url - The CDN URL for this asset, including the token as a query parameter (?token=). This URL is valid for 24 hours.
Annotations
  • @BuiltValue.new()

Constructors

ThemeAsset([void updates(ThemeAssetBuilder b)])
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
model → String
The terminal model that the asset is for. Must be one of the supported terminal models.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
The screen type that the asset is for. Possible values: logo, homeScreen, idleScreen, afterPaymentScreen, shopperEngagementScreen.
no setter
url → String
The CDN URL for this asset, including the token as a query parameter (?token=). This URL is valid for 24 hours.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(ThemeAssetBuilder)) → ThemeAsset
Rebuilds the instance.
inherited
toBuilder() → ThemeAssetBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<ThemeAsset>
no setter