getMessagesUsingIds method

  1. @override
Future getMessagesUsingIds(
  1. List<String> messageIds
)
override

Implementation

@override
Future<dynamic> getMessagesUsingIds(List<String> messageIds) async {
  dynamic messageListResponse;
  try {
    messageListResponse = await mirrorFlyMethodChannel
        .invokeMethod('getMessagesUsingIds', {"MessageIds": messageIds});
    debugPrint("getMessagesUsingIds Response ==> $messageListResponse");
    return messageListResponse;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}