pushState method

  1. @override
void pushState(
  1. Object? state,
  2. String title,
  3. String url,
  4. String queryParams,
)
override

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);
}