TextQuote class
Contains the quoted part of a message that is replied to.
- Annotations
-
- @JsonSerializable.new(includeIfNull: false)
Constructors
-
TextQuote({String? text, List<
MessageEntity> ? entities, int? position, bool? isManual}) -
TextQuote.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
entities
↔ List<
MessageEntity> ? -
Special entities that appear in the quote.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isManual ↔ bool?
-
Whether the quote was chosen manually by the message sender.
getter/setter pair
- position ↔ int?
-
Approximate quote position in the original message in UTF-16 code units.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text ↔ String?
-
Text of the quoted part of a message that is replied to by the given message.
getter/setter pair
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