getToken method

  1. @override
Future<String?> getToken()
override

Developers should not use this field directly Get Appple APNS Token

Implementation

@override
Future<String?> getToken() async {
  getAppleNotificationToken.requestPermission();
  await getAppleNotificationToken.onIosSettingsRegistered.first;
  return await getAppleNotificationToken.getToken();
}