createFeedback method
Create and send a new feedback message.
This will generate a new feedback thread, contrary to userAppendMessage and devAppendMessage which sends messages to a exsiting feedback thread.
Implementation
Future<SendResponse> createFeedback(String content, String contact) async {
SendResponse sendResponse;
await _callRestAPI(
_post,
_feedbackBaseUrl,
body: '{"status": "open", "content": "$content","contact" : "$contact"}',
onResponse: (response) => sendResponse =
SendResponse.fromJson(response as Map<String, dynamic>),
);
return sendResponse;
}