generateUrl method

Uri generateUrl(
  1. Uri url
)

Returns a new URL with the target URL parameter added.

Implementation

Uri generateUrl(Uri url) {
  return apiUrl.replace(queryParameters: {
    ...apiUrl.queryParameters,
    targetUrlParameter: url.toString(),
  });
}