copyWith method
Implementation
TimeoutSettings copyWith({
Duration? timeout,
Duration? connectTimeout,
Duration? keepAliveTimeout,
Duration? keepAlivePing,
}) {
return TimeoutSettings(
timeout: timeout ?? this.timeout,
connectTimeout: connectTimeout ?? this.connectTimeout,
keepAliveTimeout: keepAliveTimeout ?? this.keepAliveTimeout,
keepAlivePing: keepAlivePing ?? this.keepAlivePing,
);
}