getAuthUrl method

Uri getAuthUrl()

Implementation

Uri getAuthUrl() {
  ///Basically merges the various components of the provided params
  ///to generate one link for getting credentials before placing a request.

  final url = environmentMode == EnvironmentSasaPay.Live
      ? ApiUrls.BASE_URL_PRODUCTION
      : ApiUrls.BASE_URL_TESTING;
  final uri = Uri.parse(url + ApiUrls.TOKEN_AUTH_URL);
  return uri;
}