ActionResult<T>.failed constructor
const
ActionResult<T>.failed ({
- T? object,
Creates a new ActionResult instance with the state being ActionResultState.failed.
Implementation
const ActionResult.failed({
T? object,
}) : this(
state: ActionResultState.failed,
object: object,
);