getBaseUrl static method

String getBaseUrl(
  1. bool isDebugMode
)

Returns base url depending on debug mode

Implementation

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