copyWith method

  1. @Deprecated('Use [DfApiClient] constructor instead, copyWith will be removed in future versions.')
DfApiClient copyWith({
  1. DfHttpClientConfig? httpApiConfig,
})

Use DfApiClient constructor instead.

Implementation

@Deprecated(
  'Use [DfApiClient] constructor instead, copyWith will be removed in future versions.',
)
DfApiClient copyWith({DfHttpClientConfig? httpApiConfig}) {
  return DfApiClient(httpApiConfig: httpApiConfig ?? this.httpApiConfig);
}