clear method

void clear()

Clears all tooltip data.

Implementation

void clear() {
  _position = null;
  _data = null;
  _isVisible = false;
  notifyListeners();
}