isChatUnArchived static method
Checks if a chat is unarchived based on their JID.
This method sends a request to the Mirrorfly platform to determine whether a user with the specified JID is unarchived.
The jid parameter is the JID of the chat to check.
Returns a Future that completes with a bool value:
trueif the user is unarchived.falseif the user is archived or if an error occurs during the request.
Implementation
static Future<bool?> isChatUnArchived({required String jid}) {
return FlyChatFlutterPlatform.instance.isUserUnArchived(jid);
}