getVariable method

ListViewControllerVariable getVariable(
  1. PageState state,
  2. ListViewAction action
)

Implementation

ListViewControllerVariable getVariable(
    PageState state, ListViewAction action) {
  final controller =
      state.controllers[action.controllerID] as ListViewControllerVariable?;
  if (controller == null) throw Exception('No controller');
  return controller;
}