getFavouriteMessages method
This method is used to get the favourite messages.
Implementation
@override
Future<String> getFavouriteMessages() async {
String? favResponse;
try {
favResponse =
await mirrorFlyMethodChannel.invokeMethod('get_favourite_messages');
return convertChatMessagesJsonFromString(favResponse);
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}