copyTextMessages method

  1. @override
dynamic copyTextMessages(
  1. List<String> messageIds
)
override

This method is used to copy the text messages.

Implementation

@override
copyTextMessages(List<String> messageIds) async {
  try {
    await mirrorFlyMethodChannel
        .invokeMethod('copyTextMessages', {"messageidlist": messageIds});
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}