getNUnreadMessagesOfEachUsers method

  1. @override
Future getNUnreadMessagesOfEachUsers(
  1. int messagesCount
)
override

Implementation

@override
Future<dynamic> getNUnreadMessagesOfEachUsers(int messagesCount) async {
  dynamic res;
  try {
    res = await mirrorFlyMethodChannel.invokeMethod(
        'getNUnreadMessagesOfEachUsers', {"messagecount": messagesCount});
    return res;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}