readMessage method
Implementation
Future<bool> readMessage(MessageModel response) async {
if (response.response == null) return false;
await flutterTts.speak(response.response!.gptResponse ?? "");
return true;
}
Future<bool> readMessage(MessageModel response) async {
if (response.response == null) return false;
await flutterTts.speak(response.response!.gptResponse ?? "");
return true;
}