Entity class abstract
An entity extracted from a piece of text.
Constructors
- Entity({required String rawValue, required EntityType type})
- Constructor to create an instance of Entity.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rawValue → String
-
The string representation of the entity.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → EntityType
-
The type of an extracted entity.
final
Methods
-
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.
inherited