isUserUnArchived method

  1. @override
Future<bool?> isUserUnArchived(
  1. String jid
)
override

Implementation

@override
Future<bool?> isUserUnArchived(String jid) async {
  bool? res;
  try {
    res = await mirrorFlyMethodChannel
        .invokeMethod<bool>('isUserUnArchived', {"jid": jid});
    debugPrint("isUserUnArchived==>$res");
    return res;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}