getApplicationProfile static method

ApplicationProfile getApplicationProfile()

Implementation

static ApplicationProfile getApplicationProfile() {
  if (kReleaseMode) {
    return ApplicationProfile.release;
  }
  if (kDebugMode) {
    return ApplicationProfile.debug;
  }
  if (kProfileMode) {
    return ApplicationProfile.profile;
  }

  ///Fallback
  return ApplicationProfile.debug;
}