ItemContent class

An object containing the contents of a list of items.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

ItemContent({String? profileText, String? profileImageUrl, String? titleImageText, String? titleImageUrl, String? titleImageCategory, List<ItemInfo>? items, String? sum, String? sumOp})
ItemContent.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
items List<ItemInfo>?
Each text item information. JSON arrangement including ItemInfo.item and ItemInfo.itemOp corresponding to the item name and price, supporting up to 5 items.
getter/setter pair
profileImageUrl String?
An image to be output to the profile area. It's printed in the form of a small circular profile image.
getter/setter pair
profileText String?
Text to be output to the header or profile area. If there is no profileImageUrl value, it is printed in the form of a header with only a bold title, up to 16 characters.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sum String?
Summary information title of item area such as order amount and payment amount. Output up to 6 characters under text item area.
getter/setter pair
sumOp String?
Price sum information of item area. Output up to 11 characters in bold under text item area.
getter/setter pair
titleImageCategory String?
Category information output in gray letters under the title of the image item. Up to one line. Up to 14 characters.
getter/setter pair
titleImageText String?
The title of the image item. Up to 2 lines. Up to 24 characters.
getter/setter pair
titleImageUrl String?
Image of an image item. 108108 on iOS and 9898 on Android. Images that are not 1:1 ratio are readjusted in a center crop.
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