Gift class
Gift data model, containing complete attribute information of a single gift.
Constructors
Properties
- coins → int
-
Gift price (coins)
final
- desc → String
-
Gift description
final
-
extensionInfo
→ Map<
String, String> -
Gift extension information, customizable fields (such as effect type, gifting restrictions, etc.)
final
- giftID → String
-
Gift ID
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconURL → String
-
Network URL of the gift icon image, used to load gift thumbnails.
final
- level → int
-
Gift level, used to distinguish gift rarity or value tier.
final
- name → String
-
Gift name
final
- resourceURL → String
-
Network URL of the gift animation resource file, used to load gift display effects.
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