fileTransferTimeout property

int fileTransferTimeout

Implementation

int get fileTransferTimeout => _fileTransferTimeout;
void fileTransferTimeout=(dynamic value)

Sets the timeout for file transfer. This value affects the methods that send a binary data including sending file messages, creating and updating channels. The value should be between 5 seconds and 300 seconds (5 minutes). The default value is 30 seconds.

Implementation

set fileTransferTimeout(value) {
  if (value >= 5 && value <= 300) {
    _fileTransferTimeout = value;
  }
}