acceptCodeAction method

bool acceptCodeAction()

Accepts an action for the host to dispatch/apply exactly once.

Implementation

bool acceptCodeAction() {
  final action = activeCodeAction;
  if (action == null) return false;
  _acceptedCodeAction = action;
  cancelCodeActions();
  return true;
}