call method
A Middleware
function that intercepts a dispatched action
Implementation
@override
dynamic call(Store<S> store, dynamic action, NextDispatcher next) {
if (action is ThunkActionWithExtraArgument<S, A>) {
return action(store, extraArgument);
} else if (action is CallableThunkActionWithExtraArgument<S, A>) {
return action.call(store, extraArgument);
} else {
return next(action);
}
}