getMessageOfId method

  1. @override
Future getMessageOfId(
  1. String mid
)
override

Implementation

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