getMessageOfId method
This method is used to get the message using Message ID.
Implementation
@override
Future<String> getMessageOfId(String mid) async {
String? response;
try {
response = await mirrorFlyMethodChannel
.invokeMethod('getMessageOfId', {"mid": mid});
return convertChatMessageJsonFromString(response);
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}