Http4PatchImplementation constructor
Http4PatchImplementation({})
Implementation
Http4PatchImplementation({
List<InterceptorContract> interceptors = const [],
required String url,
this.body = const {},
this.params = const {},
this.headers = const {},
this.retryPolicy,
}) {
client = InterceptedClient.build(
interceptors: interceptors,
retryPolicy: retryPolicy,
);
baseUrl = Uri.parse('${Http4Config().baseUrl}$url');
}