getBaseUrl static method

String getBaseUrl(
  1. bool isTestMode
)

Returns base url depending on test mode

Implementation

static String getBaseUrl(final bool isTestMode) {
  return isTestMode ? _DEBUG_BASE_URL : _PROD_BASE_URL;
}