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