getAPNSToken method Null safety

Future<String?> getAPNSToken()

On iOS/MacOS, it is possible to get the users APNs token.

This may be required if you want to send messages to your iOS/MacOS devices without using the FCM service.

On Android & web, this returns null.

Implementation

Future<String?> getAPNSToken() {
  return _delegate.getAPNSToken();
}