getUnsentMessageOfAJid method

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

Implementation

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