Get Available Surveys

This method returns all possible available surveys that can be shown to the user. A list of survey objects is returned by this API.

Surveys.availableSurveys { (surveys) in
            
        }
[IBGSurveys availableSurveysWithCompletionHandler: ^(NSArray<IBGSurvey *> *validSurveys) {
        
    }];
Surveys.getAvailableSurveys();
Surveys.getAvailableSurveys()
const availableSurveys = await Surveys.getAvailableSurveys();
final titles = Surveys.getAvailableSurveys();