pushState method
Implementation
@override
void pushState(Object? state, String title, String url, String queryParams) {
internalTitle = title;
var internalUrl = url + (queryParams.isNotEmpty ? '?$queryParams' : '');
internalPath = internalUrl;
var externalUrl = prepareExternalUrl(internalUrl);
urlChanges.add(externalUrl);
}