ActionResult<T>.needAction constructor

const ActionResult<T>.needAction({
  1. T? object,
})

Creates a new ActionResult instance with the state being ActionResultState.needAction.

Implementation

const ActionResult.needAction({
  T? object,
}) : this(
        state: ActionResultState.needAction,
        object: object,
      );