FileUploadAction constructor

FileUploadAction({
  1. Map? inputs,
  2. String? id,
  3. EnsembleAction? onComplete,
  4. EnsembleAction? onError,
  5. required String uploadApi,
  6. required String fieldName,
  7. int? maxFileSize,
  8. String? overMaxFileSizeMessage,
  9. required bool isBackgroundTask,
  10. required dynamic files,
  11. String? networkType,
  12. bool? requiresBatteryNotLow,
  13. required bool showNotification,
  14. int? batchSize,
})

Implementation

FileUploadAction({
  super.inputs,
  this.id,
  this.onComplete,
  this.onError,
  required this.uploadApi,
  required this.fieldName,
  this.maxFileSize,
  this.overMaxFileSizeMessage,
  required this.isBackgroundTask,
  required this.files,
  this.networkType,
  this.requiresBatteryNotLow,
  required this.showNotification,
  this.batchSize,
});