init method

  1. @override
Future<void> init(
  1. PushClickAction onClickNotificationFunction
)
override

Developers should not use this field directly Initialize HUAWEI Push

Implementation

@override
Future<void> init(PushClickAction onClickNotificationFunction) async {
  onClickNotification = onClickNotificationFunction;
  await initHuaweiNotificationListener();
  await initHuaweiTokenStream();
  return;
}