getAPNsToken static method
Implementation
static Future<String> getAPNsToken() async {
// iOS only
if (kIsWeb || !Platform.isIOS) {
return '';
}
// Query for underlying APNs token
String result = (await _channel.invokeMethod<String>('getAPNsToken'))!;
// Return result
return result;
}