isMuted method
This method is used to get the user is muted or not.
Implementation
@override
Future<bool?> isMuted(String jid) async {
bool? res;
try {
res = await mirrorFlyMethodChannel
.invokeMethod<bool>('isMuted', {"jid": jid});
return res;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}