getMessageOfId method
Implementation
@override
Future<dynamic> getMessageOfId(String mid) async {
dynamic response;
try {
response = await mirrorFlyMethodChannel
.invokeMethod('getMessageOfId', {"mid": mid});
// debugPrint("response ==> $response");
return response;
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}