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) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}