SendbirdChatOptions constructor

SendbirdChatOptions({
  1. bool? useCollectionCaching = defaultUseCollectionCaching,
  2. int? connectionTimeout = defaultConnectionTimeout,
  3. int? webSocketTimeout = defaultWebSocketTimeout,
  4. int? fileTransferTimeout = defaultFileTransferTimeout,
  5. int? typingIndicatorThrottle = defaultTypingIndicatorThrottle,
  6. bool? useMemberInfoInMessage = defaultUseMemberInfoInMessage,
  7. bool? useAutoResend = defaultUseAutoResend,
})

Implementation

SendbirdChatOptions({
  bool? useCollectionCaching = defaultUseCollectionCaching,
  int? connectionTimeout = defaultConnectionTimeout,
  int? webSocketTimeout = defaultWebSocketTimeout,
  int? fileTransferTimeout = defaultFileTransferTimeout,
  int? typingIndicatorThrottle = defaultTypingIndicatorThrottle,
  bool? useMemberInfoInMessage = defaultUseMemberInfoInMessage,
  bool? useAutoResend = defaultUseAutoResend,
}) {
  this.useCollectionCaching = useCollectionCaching;
  this.connectionTimeout = connectionTimeout;
  this.webSocketTimeout = webSocketTimeout;
  this.fileTransferTimeout = fileTransferTimeout;
  this.typingIndicatorThrottle = typingIndicatorThrottle;
  this.useMemberInfoInMessage = useMemberInfoInMessage;
  this.useAutoResend = useAutoResend;
  this.useAutoResend = _useCollectionCaching ? useAutoResend : false;
}