Notificator constructor
Notificator({
- required OnNotificationTapCallback onNotificationTapCallback,
- OnPermissionDeclineCallback? onPermissionDecline,
- IOSNotification? iosNotification,
- AndroidNotification? androidNotification,
- PlatformWrapper? platform,
- MethodChannel? channel,
Implementation
Notificator({
required this.onNotificationTapCallback,
this.onPermissionDecline,
this.iosNotification,
this.androidNotification,
PlatformWrapper? platform,
MethodChannel? channel,
}) : platform = platform ?? PlatformWrapper() {
init(methodChannel: channel);
}