copyWith method

SdkConfig copyWith({
  1. bool? captureBodies,
})

A copy with the given fields replaced.

Implementation

SdkConfig copyWith({bool? captureBodies}) => SdkConfig(
  captureBodies: captureBodies ?? this.captureBodies,
  maxBodyBytes: maxBodyBytes,
  metricsIntervalMs: metricsIntervalMs,
  deviceLogsAvailable: deviceLogsAvailable,
  captureStreams: captureStreams,
  maxStreamMessageBytes: maxStreamMessageBytes,
);