authToken property

  1. @Deprecated('Auth token is now managed internally after login(). ' 'This setter is retained for v4 backward compatibility.')
set authToken (String? value)

v4 compat: accepts and stores the authToken. When the Calls SDK has no internally cached auth token (no CometChatCalls.login() call), this token is used as a fallback for API requests.

Implementation

@Deprecated('Auth token is now managed internally after login(). '
    'This setter is retained for v4 backward compatibility.')
set authToken(String? value) {
  _authToken = value;
}