baseUrl static method

String baseUrl(
  1. bool isProduction
)

Returns the base URL for UAE Pass API based on the environment.

isProduction: A boolean indicating whether the app is running in production environment.

Implementation

static String baseUrl(bool isProduction) {
  return isProduction ? _uaePassProdBaseUrl : _uaePassStgBaseUrl;
}