getSurveyResponse method

  1. @override
Future<Map?> getSurveyResponse({
  1. required String surveyHash,
  2. Map<String, dynamic>? customVariables,
})
override

Implementation

@override
Future<Map?> getSurveyResponse(
    {required String surveyHash,
    Map<String, dynamic>? customVariables}) async {
  Map<String, dynamic> methodArguments = {'surveyHash': surveyHash};
  if (customVariables != null) {
    methodArguments['customVariables'] = customVariables;
  }
  final version = await methodChannel.invokeMethod<Map>(
      'getSurveyResponse', methodArguments);
  return version;
}