Notificator constructor

Notificator({
  1. required OnNotificationTapCallback onNotificationTapCallback,
  2. OnPermissionDeclineCallback? onPermissionDecline,
  3. IOSNotification? iosNotification,
  4. AndroidNotification? androidNotification,
  5. PlatformWrapper? platform,
  6. MethodChannel? channel,
})

Implementation

Notificator({
  required this.onNotificationTapCallback,
  this.onPermissionDecline,
  this.iosNotification,
  this.androidNotification,
  PlatformWrapper? platform,
  MethodChannel? channel,
}) : platform = platform ?? PlatformWrapper() {
  init(methodChannel: channel);
}