init abstract method
Future<Either<Failure, Unit> >
init({
- required dynamic onMessage(
- PushNotification message,
- bool background
- required dynamic onBackgroundNotification(
- PushNotification message
Implementation
Future<Either<Failure, Unit>> init({
required Function(PushNotification message, bool background)? onMessage,
required Function(PushNotification message)? onBackgroundNotification,
});