receiveTimeout property

Duration? get receiveTimeout
inherited

Implementation

Duration? get receiveTimeout => _receiveTimeout;
set receiveTimeout (Duration? value)
inherited

Implementation

set receiveTimeout(Duration? value) {
  if (value != null && value.isNegative) {
    throw StateError('receiveTimeout should be positive');
  }
  _receiveTimeout = value;
}