copyWith method
- @Deprecated('Use [DfApiClient] constructor instead, copyWith will be removed in future versions.')
- 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);
}