huaweiMessagingBackgroundHandler function

void huaweiMessagingBackgroundHandler(
  1. RemoteMessage message
)

Implementation

@pragma('vm:entry-point')
void huaweiMessagingBackgroundHandler(huawei.RemoteMessage message) async {
  var messageOfMap = message.toMap();
  messageOfMap["data"] = message.dataOfMap;
  await messagingBackgroundHandler(
      AndroidFlutterPushedMessaging.convertMessage(messageOfMap), "Hpk");
}