getUserFeedback method

  1. @override
Future<Uri?> getUserFeedback({
  1. String title = "Feedback",
  2. String hint = "Please insert your feedback here and click send",
  3. String subjectHint = "Subject…",
  4. String messageHint = "Your feedback…",
  5. String sendButtonText = "Send",
  6. String cancelButtonText = "Close",
})
override

Implementation

@override
Future<Uri?> getUserFeedback(
    {String title = "Feedback",
    String hint = "Please insert your feedback here and click send",
    String subjectHint = "Subject…",
    String messageHint = "Your feedback…",
    String sendButtonText = "Send",
    String cancelButtonText = "Close"}) {
  return _channel.invokeMethod('getUserFeedback', {
    "title": title,
    "hint": hint,
    "subjectHint": subjectHint,
    "messageHint": messageHint,
    "sendButtonText": sendButtonText,
    "cancelButtonText": cancelButtonText
  }).then((value) {
    if (value != null) {
      return Uri.parse(value);
    } else {
      return null;
    }
  });
}