GiftCategory class

Gift category.

Constructors

GiftCategory({String categoryID = '', String name = '', String desc = '', Map<String, String> extensionInfo = const {}, List<Gift> giftList = const []})

Properties

categoryID String
Category unique identifier ID, used to distinguish different gift categories.
final
desc String
Category description information, used to explain the characteristics of this category.
final
extensionInfo Map<String, String>
Category extension information, containing custom fields (such as sorting weight, display style, etc.).
final
giftList List<Gift>
All gift lists under the current category.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Category display name, used for UI category display (such as "Popular Gifts", "Premium Gifts").
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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