getUserFeedback method
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",
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;
}
});
}