GiftEntity class
- Inheritance
-
- Object
- GiftEntityProtocol
- GiftEntity
Constructors
- GiftEntity.new({required String giftId, required String giftName, required String giftIcon, required String giftPrice, required String? giftEffect, int count = 1})
-
GiftEntity.fromJson(Map<
String, dynamic> map)
Properties
- count → int
-
final
- giftEffect → String?
-
Gift effect
final
- giftIcon → String
-
Gift icon
final
- giftId → String
-
Gift ID
final
- giftName → String
-
Gift name
final
- giftPrice → String
-
Gift price`
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited