displaySurveyWithId method

  1. @override
Future displaySurveyWithId(
  1. int id
)
override

display a survey using the survey id, this method is currently only available on IOS

Implementation

@override
Future displaySurveyWithId(int id) async {
  try {
    return await _channel.invokeMethod(Channels.DISPLAY_WITH_ID, {'id': id});
  } catch (e) {
    print(e);
  }
}