showSurveyPage method

  1. @override
Future<bool> showSurveyPage(
  1. BuildContext context, {
  2. required String appId,
  3. required String linkOrToken,
  4. Map<String, String>? options,
})
override

Implementation

@override
Future<bool> showSurveyPage(
  BuildContext context, {
  required String appId,
  required String linkOrToken,
  Map<String, String>? options,
}) async {
  String url = "$_baseUrl$linkOrToken/${getParams(options)}";

  await Navigator.of(context).push(
    MaterialPageRoute(
      builder: (context) => CustomerPulsePage(url: url),
    ),
  );
  return true;
}