dispatchFunction method
void
dispatchFunction(
- RefreshWrapperRenderViewModel viewModel,
- String functionName,
- VoltronArray array, {
- Promise? promise,
override
Implementation
@override
void dispatchFunction(
RefreshWrapperRenderViewModel viewModel,
String functionName,
VoltronArray array, {
Promise? promise,
}) {
super.dispatchFunction(viewModel, functionName, array, promise: promise);
if (kFuncRefreshComplected == functionName) {
viewModel.refreshEventDispatcher.refreshComplected();
} else if (kFuncStartRefresh == functionName) {
viewModel.refreshEventDispatcher.startRefresh();
}
}