MentionModel class
Stores all data related to a mention
Constructors
Properties
- fullMention → String
-
Mention name with tag
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int?
-
final
- locationEnd → int?
-
End position of the mention in the text
final
- locationStart → int?
-
Beginning position of the mention in the text
final
- mentionName → String?
-
Contains name of mention without tag
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tagType → String
-
Related to
tag
from MentionTextControllerfinal
Methods
-
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
Static Methods
-
sortMentionsByLocationStart(
MentionModel a, MentionModel b) → int - Compare two mention models by position