removeCallback method

void removeCallback()

Removes custom service inside bubble

Implementation

void removeCallback() {
  if (_isOpen) {
    _callback?.cancel();
    _callback = null;
  } else
    throw Exception('Bubble not running');
}