I kown you can add function addAll to MiddlewareBuilder. But I have found it in MiddlewareBuilder. Why not add this function. I don't want to invoke add function every time
example
Map<ActionName, MiddlewareHandler<HomeState, HomeStateBuilder, HomeActions, dynamic>> other ={
HomeActionsNames.homeIncreaseAsync:_homeIncrease,
};
MiddlewareBuilder..addAll(other)
I kown you can add function
addAll
to MiddlewareBuilder. But I have found it in MiddlewareBuilder. Why not add this function. I don't want to invokeadd
function every timeexample