handleReceivedMessage method

  1. @override
Future handleReceivedMessage(
  1. Map notificationData
)
override

Implementation

@override
Future<dynamic> handleReceivedMessage(Map notificationData) async {
  dynamic res;
  try {
    res = await mirrorFlyMethodChannel.invokeMethod('handleReceivedMessage', {"notificationdata": notificationData});
    return res;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}