InputStoryAreaTypeSuggestedReaction class
An area pointing to a suggested reaction
- Inheritance
-
- Object
- TdObject
- InputStoryAreaType
- InputStoryAreaTypeSuggestedReaction
- Available extensions
- Annotations
-
- @immutable
Constructors
- InputStoryAreaTypeSuggestedReaction({required ReactionType reactionType, required bool isDark, required bool isFlipped})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isDark → bool
-
isDark True, if the reaction has a dark background
final
- isFlipped → bool
-
isFlipped True, if the reaction corner is flipped
final
- reactionType → ReactionType
-
reactionType Type of the reaction
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{ReactionType? reactionType, bool? isDark, bool? isFlipped}) → InputStoryAreaTypeSuggestedReaction -
Available on InputStoryAreaTypeSuggestedReaction, provided by the InputStoryAreaTypeSuggestedReactionExtensions extension
-
getConstructor(
) → String -
override
-
map<
TResult extends Object?> ({required TResult location(InputStoryAreaTypeLocation value), required TResult previousVenue(InputStoryAreaTypePreviousVenue value), required TResult suggestedReaction(InputStoryAreaTypeSuggestedReaction value), required TResult message(InputStoryAreaTypeMessage value), required TResult link(InputStoryAreaTypeLink value), required TResult weather(InputStoryAreaTypeWeather value), required TResult upgradedGift(InputStoryAreaTypeUpgradedGift value)}) → TResult -
Available on InputStoryAreaType, provided by the InputStoryAreaTypeExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult location(InputStoryAreaTypeLocation value)?, TResult previousVenue(InputStoryAreaTypePreviousVenue value)?, TResult suggestedReaction(InputStoryAreaTypeSuggestedReaction value)?, TResult message(InputStoryAreaTypeMessage value)?, TResult link(InputStoryAreaTypeLink value)?, TResult weather(InputStoryAreaTypeWeather value)?, TResult upgradedGift(InputStoryAreaTypeUpgradedGift value)?, required TResult orElse()}) → TResult -
Available on InputStoryAreaType, provided by the InputStoryAreaTypeExtensions extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
Constants
- constructor → const String