isFeatureEnabled static method

bool isFeatureEnabled(
  1. String featureName
)

Implementation

static bool isFeatureEnabled(String featureName) {
  if (!packageValid) {
    debugPrint('Package is not valid');
    return false;
  }

  if (featureName == 'appElevatedCard') {
    debugPrint('AppElevatedCard is enabled');
    return true;
  }

  debugPrint('Feature not found: $featureName');
  return false;
}