APIAction class
Represents an action that makes an API request in a chat application.
This action is used to encapsulate details of an API request, including the URL, HTTP method, payload data, headers, and data key. It inherits the common 'actionType' property from the ActionEntity class.
- Inheritance
-
- Object
- ActionEntity
- APIAction
Constructors
Properties
- actionType ↔ String
-
getter/setter pairinherited
- dataKey ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
↔ Map<
String, String> ? -
getter/setter pair
- method ↔ String
-
getter/setter pair
-
payload
↔ Map<
String, dynamic> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited