initialize method

  1. @override
Future initialize(
  1. MessageConverter messageConverter
)
override

Implementation

@override
Future initialize(MessageConverter messageConverter) async {
  _fb!

      /// Registers for all token changes
      .onTokenRefresh
      .listen((token) {
    log.info("FCM token refresh: $token");
    super.newPushToken(token);
  }, cancelOnError: false).auto(this);

  super.convertMessage = messageConverter;
}