TextEntityTypeSpoiler class

A spoiler text

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

TextEntityTypeSpoiler()
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getConstructor() → String
override
map<TResult extends Object?>({required TResult mention(TextEntityTypeMention value), required TResult hashtag(TextEntityTypeHashtag value), required TResult cashtag(TextEntityTypeCashtag value), required TResult botCommand(TextEntityTypeBotCommand value), required TResult url(TextEntityTypeUrl value), required TResult emailAddress(TextEntityTypeEmailAddress value), required TResult phoneNumber(TextEntityTypePhoneNumber value), required TResult bankCardNumber(TextEntityTypeBankCardNumber value), required TResult tonAddress(TextEntityTypeTonAddress value), required TResult bold(TextEntityTypeBold value), required TResult italic(TextEntityTypeItalic value), required TResult underline(TextEntityTypeUnderline value), required TResult strikethrough(TextEntityTypeStrikethrough value), required TResult spoiler(TextEntityTypeSpoiler value), required TResult code(TextEntityTypeCode value), required TResult pre(TextEntityTypePre value), required TResult preCode(TextEntityTypePreCode value), required TResult blockQuote(TextEntityTypeBlockQuote value), required TResult expandableBlockQuote(TextEntityTypeExpandableBlockQuote value), required TResult textUrl(TextEntityTypeTextUrl value), required TResult mentionName(TextEntityTypeMentionName value), required TResult customEmoji(TextEntityTypeCustomEmoji value), required TResult mediaTimestamp(TextEntityTypeMediaTimestamp value), required TResult dateTime(TextEntityTypeDateTime value)}) → TResult

Available on TextEntityType, provided by the TextEntityTypeExtensions extension

maybeMap<TResult extends Object?>({TResult mention(TextEntityTypeMention value)?, TResult hashtag(TextEntityTypeHashtag value)?, TResult cashtag(TextEntityTypeCashtag value)?, TResult botCommand(TextEntityTypeBotCommand value)?, TResult url(TextEntityTypeUrl value)?, TResult emailAddress(TextEntityTypeEmailAddress value)?, TResult phoneNumber(TextEntityTypePhoneNumber value)?, TResult bankCardNumber(TextEntityTypeBankCardNumber value)?, TResult tonAddress(TextEntityTypeTonAddress value)?, TResult bold(TextEntityTypeBold value)?, TResult italic(TextEntityTypeItalic value)?, TResult underline(TextEntityTypeUnderline value)?, TResult strikethrough(TextEntityTypeStrikethrough value)?, TResult spoiler(TextEntityTypeSpoiler value)?, TResult code(TextEntityTypeCode value)?, TResult pre(TextEntityTypePre value)?, TResult preCode(TextEntityTypePreCode value)?, TResult blockQuote(TextEntityTypeBlockQuote value)?, TResult expandableBlockQuote(TextEntityTypeExpandableBlockQuote value)?, TResult textUrl(TextEntityTypeTextUrl value)?, TResult mentionName(TextEntityTypeMentionName value)?, TResult customEmoji(TextEntityTypeCustomEmoji value)?, TResult mediaTimestamp(TextEntityTypeMediaTimestamp value)?, TResult dateTime(TextEntityTypeDateTime value)?, required TResult orElse()}) → TResult

Available on TextEntityType, provided by the TextEntityTypeExtensions 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

Constants

constructor → const String