toggleAutoScroll method

void toggleAutoScroll(
  1. bool value,
  2. CommandModel model
)

Implementation

void toggleAutoScroll(final bool value, final CommandModel model) {
  autoScroll(value);
  // final Rx<CommandModel> cmdModel = service.get(model.id);
  final Rx<CommandModel> cmdModel = Rx<CommandModel>(model);
  cmdModel.refresh();
}