flagExists method

bool flagExists(
  1. String key
)

Check if a specific flag exists

Implementation

bool flagExists(String key) {
  if (key.trim().isEmpty) {
    Logger.w('CFClient: Flag key is empty');
    return false;
  }

  return _featureFlagsComponent.flagExists(key);
}