fetchAvailableSurveys abstract method

Future<List<Survey>> fetchAvailableSurveys()

Method to fetch surveys from the endpoint kContextualSurveyUrl.

Any survey that is returned by this method has already passed the survey conditions specified in the remote survey metadata file.

If the method returns an empty list, then there are no surveys to be shared with the user.

Implementation

Future<List<Survey>> fetchAvailableSurveys();