updateAPNSToken method Null safety
Update the device token (iOS).
token
The current device's token.
customContentKey
Customize the contents of the push notifications of the current client. If the parameter is not passed, the contents will be empty; if null is passed, the contents will not be changed.
Implementation
Future<NIMResult<void>> updateAPNSToken(
Uint8List token, String? customContentKey) async {
return _platform.updateAPNSTokenIOS(token, customContentKey);
}