UploadRequest<T> constructor
const
UploadRequest<T> ({
- required String endpoint,
- T fromJson(
- dynamic json
- required List<
UploadFile> files, - String version = '',
- Object? query,
- ApiUploadRequestOptions? options,
- Map<
String, String> ? fields, - UploadMethod method = UploadMethod.post,
Implementation
const UploadRequest({
required super.endpoint,
super.fromJson,
required this.files,
super.version,
super.query,
ApiUploadRequestOptions? options,
this.fields,
this.method = UploadMethod.post,
}) : uploadOptions = options,
super(options: options);