TextSegmentMessage class
A run of text, optionally marked with the skipsTranslation attribute.
Constructors
- TextSegmentMessage({required String text, required bool skipsTranslation})
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipsTranslation ↔ bool
-
getter/setter pair
- text ↔ String
-
getter/setter pair
Methods
-
encode(
) → Object -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
decode(
Object result) → TextSegmentMessage