getVariable method

Implementation

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