UploadRequest<T> constructor

const UploadRequest<T>({
  1. required String endpoint,
  2. T fromJson(
    1. dynamic json
    )?,
  3. required List<UploadFile> files,
  4. String version = '',
  5. ApiRequestOptions? options,
  6. Map<String, String>? fields,
  7. UploadMethod method = UploadMethod.post,
})

Implementation

const UploadRequest({
  required super.endpoint,
  super.fromJson,
  required this.files,
  super.version = '',
  super.options,
  this.fields,
  this.method = UploadMethod.post,
});