LiveChatGiftDetails class

Details about the gift event, this is only set if the type is 'giftEvent'.

Constructors

LiveChatGiftDetails({String? altText, int? comboCount, String? giftDuration, String? giftName, String? giftUrl, bool? hasVisualEffect, int? jewelsAmount, String? language})
LiveChatGiftDetails.fromJson(Map json_)

Properties

altText String?
The alternative text to be used for accessibility.
getter/setter pair
comboCount int?
The number of times the gift has been sent in a row.
getter/setter pair
giftDuration String?
The duration of the gift.
getter/setter pair
giftName String?
The name of the gift.
getter/setter pair
giftUrl String?
The URL of the gift image.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasVisualEffect bool?
Whether the gift involves a visual effect.
getter/setter pair
jewelsAmount int?
The value of the gift in jewels.
getter/setter pair
language String?
The BCP-47 language code of the gift.
getter/setter pair
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