apiUrl property

String get apiUrl

Implementation

static String get apiUrl {
  if (currentMoad == Moad.dubug) {
    return DebugApi.apiUrl;
  } else if (currentMoad == Moad.live) {
    return LiveApi.apiUrl;
  } else if (currentMoad == Moad.test) {
    return TestApi.apiUrl;
  } else {
    // Default to debug mode if mode is unknown
    return DebugApi.apiUrl;
  }
}