fetchAllThreads method
Fetch all feedback threads.
This function will fetch all feedback threads that you received, thus should only be used in a console-like application.
Implementation
Future<List<Thread>> fetchAllThreads() async {
List<Thread> threadResponse;
await _callRestAPI(_get, _feedbackBaseUrl,
onResponse: (response) => threadResponse =
ThreadResponse.fromJson(response as Map<String, dynamic>).results);
return threadResponse;
}