setPushToken method
Sets the push token.
After obtaining a push token through Push Kit,
call this method to save the push token so that you can use the audience
defined by Analytics Kit to create HCM notification tasks.
note This function is specifically used by Android Platforms.
Implementation
@deprecated
Future<void> setPushToken(String token) async {
if (Platform.isAndroid) {
await _channel.invokeMethod('setPushToken', {'': token});
}
}