init abstract method

Future<Either<Failure, Unit>> init({
  1. required dynamic onMessage(
    1. PushNotification message,
    2. bool background
    )?,
  2. required dynamic onBackgroundNotification(
    1. PushNotification message
    )?,
})

Implementation

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