updateAPNSToken method Null safety

Future<NIMResult<void>> updateAPNSToken(
  1. Uint8List token,
  2. String? customContentKey

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.


Future<NIMResult<void>> updateAPNSToken(
    Uint8List token, String? customContentKey) async {
  return _platform.updateAPNSTokenIOS(token, customContentKey);