AitMsg class
@消息
Constructors
- AitMsg(String text)
-
AitMsg.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
segments
↔ List<
AitSegment> -
getter/setter pair
- text ↔ String
-
在@消息中展示的文本
getter/setter pair
Methods
-
addSegment(
int start, int end, {bool broken = false}) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeSegment(
int start, int end) → void -
toMap(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
-
valid(
) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited