token property
(Optional) A dynamic key generated on the server for authentication. See Token Authentication. This parameter only takes effect when calling updateChannelMediaOptions or updateChannelMediaOptionsEx. Make sure the App ID, channel name, and user name used to generate the token are consistent with those used in the initialize method and the joinChannel or joinChannelEx methods.
Implementation
@JsonKey(name: 'token')
final String? token;