clear method

void clear()

Clears diagnostics managed by this binding.

Implementation

void clear() {
  if (_disposed) return;
  _lastText = _controller.text;
  _controller.clearDiagnostics();
}