setUrl method
Sets the url of the Matomo endpoint and updates the dispatcher.
Note that this will change the url used by the request that are still in the queue.
Implementation
void setUrl(String newUrl) {
_initializationCheck();
_url = newUrl;
_dispatcher = _dispatcher.copyWith(baseUrl: newUrl);
}