multipart method

  1. @override
Future<Http4Response> multipart(
  1. String url, {
  2. required Http4Method method,
  3. Map<String, String> fields = const {},
  4. Map<String, String> headers = const {},
  5. List<MultipartFile> files = const [],
  6. List<InterceptorContract> interceptors = const [],
  7. RetryPolicy? retryPolicy,
})
override

Implementation

@override
Future<Http4Response> multipart(
  final String url, {
  required Http4Method method,
  Map<String, String> fields = const {},
  Map<String, String> headers = const {},
  List<MultipartFile> files = const [],
  List<InterceptorContract> interceptors = const [],
  RetryPolicy? retryPolicy,
}) async =>
    await Http4MultipartImplementation(
      url: url,
      method: method,
      files: files,
      fields: fields,
      headers: headers,
      interceptors: interceptors,
      retryPolicy: retryPolicy,
    ).call();