copyWith method

ClientOptions copyWith({
  1. bool? enableDebugLogging,
  2. int? timeoutSeconds,
  3. bool? autoRefreshToken,
})

Creates a copy with optional overrides.

Implementation

ClientOptions copyWith({
  bool? enableDebugLogging,
  int? timeoutSeconds,
  bool? autoRefreshToken,
}) {
  return ClientOptions(
    enableDebugLogging: enableDebugLogging ?? this.enableDebugLogging,
    timeoutSeconds: timeoutSeconds ?? this.timeoutSeconds,
    autoRefreshToken: autoRefreshToken ?? this.autoRefreshToken,
  );
}