getAvailableSurveys static method
Returns an array containing the available surveys.
function
availableSurveysCallback callback with
argument available surveys
Implementation
static Future<void> getAvailableSurveys(Function function) async {
_channel.setMethodCallHandler(_handleMethod);
_availableSurveysCallback = function;
await _channel.invokeMethod<Object>('getAvailableSurveys');
}