MessageTranslationTextContent class

Text message content split into translatable and protected mention parts.

Constructors

MessageTranslationTextContent(List<MessageTranslationTextPart> parts)
Creates translation content from ordered parts.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
parts List<MessageTranslationTextPart>
Ordered source text parts.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translatableParts List<MessageTranslationTextPart>
Non-empty ordinary text parts that need translation.
no setter

Methods

combine(List<String> translatedTexts) String
Reassembles translated parts and original mentions in source order.
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