isWidgetNavigation function

bool isWidgetNavigation(
  1. Uri target,
  2. Uri widgetUrl
)

Implementation

bool isWidgetNavigation(Uri target, Uri widgetUrl) =>
    target.scheme == widgetUrl.scheme &&
    target.host == widgetUrl.host &&
    target.port == widgetUrl.port &&
    target.path == widgetUrl.path &&
    target.query == widgetUrl.query;