ActionEntity class
A base class for representing actions in a chat application.
Action entities are used to encapsulate various actions that can be performed within a chat application. Subclasses of this class provide specific implementations for different types of actions, such as API requests, URL navigation, or custom actions.
Subclasses:
- APIAction: Represents an action for making API requests.
CustomAction
: Represents a custom action within the chat application.- URLNavigationAction: Represents an action for URL navigation.
- Implementers
Constructors
- ActionEntity({required String actionType})
- ActionEntity.fromMap(dynamic map)
-
factory
Properties
- actionType ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited