PushHandler constructor

PushHandler(
  1. PushHandleStrategyFactory _strategyFactory,
  2. NotificationController _notificationController,
  3. BaseMessagingService _messagingService, {
  4. PlatformWrapper? platform,
})

Implementation

PushHandler(
  this._strategyFactory,
  this._notificationController,
  this._messagingService, {
  PlatformWrapper? platform,
}) : platform = platform ?? PlatformWrapper() {
  _messagingService.initNotification(handleMessage);
}