getFavouriteMessages static method
Retrieves the user's favorite messages from the Mirrorfly chat platform.
This static method asynchronously retrieves the user's favorite messages from the Mirrorfly chat platform using the underlying platform implementation.
Returns a Future that completes with a String representing the user's favorite(ChatMessageModel) messages.
Example: Mirrorfly.getFavouriteMessages().then((value) {
Implementation
// List<ChatMessageModel> chatMessageModel = chatMessageModelFromJson(value);
//}).catchError((e){
// });
static Future<String> getFavouriteMessages() {
return FlyChatFlutterPlatform.instance.getFavouriteMessages();
}