ActionResponse<T> class final

Represents a response that requires further action from the client.

Unlike SuccessResponse, this indicates the process is incomplete or requires a specific action to be triggered via code.

Inheritance

Constructors

ActionResponse({required String code, required String action, required String message})
const

Properties

action String
final
code String
final
hashCode int
The hash code for this object.
no setterinherited
message String
final
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
toJson() Map<String, dynamic>
Converts the action response back to a JSON-compatible map.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited